Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storaged always sends heartbeat to metad follower if not registered #3475

Closed
HarrisChu opened this issue Dec 15, 2021 · 1 comment
Closed
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@HarrisChu
Copy link
Contributor

3 storaged and 3 metad.

  1. start all the services and do not add hosts
  2. storaged sends heartbeat to follower, and then return MetaClient.cpp:70] Heartbeat failed, status:Machine not existed!
  3. storaged sends heartbeat to follower for ever.
  4. add host

expected result:

  1. storaged register succussfully.

actual result:

  1. sends to follower for ever and cannot register successfully.

logs:

meta leader:

I1215 10:26:24.830297 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9779, role = STORAGE
E1215 10:26:24.830343 30602 HBProcessor.cpp:38] Machine "192.168.8.63":9779 is not registed
I1215 10:26:25.358093 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:26:25.358165 30602 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:26:25.643523 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9669, role = GRAPH
I1215 10:26:25.859187 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9669, role = GRAPH
I1215 10:26:27.900756 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9669, role = GRAPH
I1215 10:26:34.832269 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9779, role = STORAGE
E1215 10:26:34.832338 30602 HBProcessor.cpp:38] Machine "192.168.8.63":9779 is not registed
I1215 10:26:35.359666 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:26:35.359714 30602 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:26:35.661341 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9669, role = GRAPH
I1215 10:26:35.876652 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9669, role = GRAPH
I1215 10:26:37.924538 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9669, role = GRAPH
I1215 10:26:44.838270 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9779, role = STORAGE
E1215 10:26:44.838322 30602 HBProcessor.cpp:38] Machine "192.168.8.63":9779 is not registed
I1215 10:26:45.361323 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:26:45.361358 30602 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:26:45.682530 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9669, role = GRAPH
I1215 10:26:45.897104 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9669, role = GRAPH
I1215 10:26:47.950623 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9669, role = GRAPH
I1215 10:26:54.840095 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9779, role = STORAGE
E1215 10:26:54.840159 30602 HBProcessor.cpp:38] Machine "192.168.8.63":9779 is not registed
I1215 10:26:55.362918 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:26:55.362994 30602 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:26:55.700609 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.63":9669, role = GRAPH
I1215 10:26:55.917555 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9669, role = GRAPH
I1215 10:26:57.971032 30602 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9669, role = GRAPH

follower

I1215 10:26:45.793278  6447 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:26:45.793323  6447 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:26:55.794984  6447 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:26:55.795027  6447 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:26:55.795081  6448 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9779, role = STORAGE
E1215 10:26:55.795128  6448 HBProcessor.cpp:38] Machine "192.168.8.61":9779 is not registed
I1215 10:27:05.796754  6448 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9779, role = STORAGE
E1215 10:27:05.796831  6448 HBProcessor.cpp:38] Machine "192.168.8.61":9779 is not registed
I1215 10:27:05.796834  6447 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:27:05.796880  6447 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
I1215 10:27:15.798352  6447 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.61":9779, role = STORAGE
I1215 10:27:15.798352  6448 HBProcessor.cpp:33] Receive heartbeat from "192.168.8.62":9779, role = STORAGE
E1215 10:27:15.798403  6447 HBProcessor.cpp:38] Machine "192.168.8.61":9779 is not registed
E1215 10:27:15.798421  6448 HBProcessor.cpp:38] Machine "192.168.8.62":9779 is not registed
@HarrisChu
Copy link
Contributor Author

#3498 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

4 participants