-
Notifications
You must be signed in to change notification settings - Fork 50
Conversation
It seems to solve the problem that the leader didn't start the election for a period of time when it started? |
Yeah, for reboot the cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix index is missing during balance data (#391) * speed up first election (#387) Co-authored-by: yaphet <[email protected]> * Delete the BR tool (move to https://github.com/vesoft-inc/nebula-br). (#395) Co-authored-by: CBS <[email protected]> * Upgrade tool forced type conversion (#392) * support type default value * address critical27's comments * fix wrong error info (#397) Co-authored-by: Doodle <[email protected]> Co-authored-by: yaphet <[email protected]> Co-authored-by: Simon Liu <[email protected]> Co-authored-by: CBS <[email protected]> Co-authored-by: panda-sheep <[email protected]>
* fix index is missing during balance data (#391) * speed up first election (#387) Co-authored-by: yaphet <[email protected]> * Delete the BR tool (move to https://github.com/vesoft-inc/nebula-br). (#395) Co-authored-by: CBS <[email protected]> * Upgrade tool forced type conversion (#392) * support type default value * address critical27's comments * fix wrong error info (#397) * add cmake link obj (#385) * removed resource in storage, just use graph's when package (#396) * removed resource in storage, just use graph's when package * fix build error Co-authored-by: CBS <[email protected]> * corrected template for listener (#401) * apply change loadLeader (#400) Co-authored-by: Doodle <[email protected]> Co-authored-by: yaphet <[email protected]> Co-authored-by: Simon Liu <[email protected]> Co-authored-by: CBS <[email protected]> Co-authored-by: panda-sheep <[email protected]> Co-authored-by: kyle.cao <[email protected]>
The quick path for first election
term_ == 0
is not activated quite long ago. The first election will be triggered afterraft_heartbeat_interval_secs
, by default is 30s in configuration.Just add it back, once I know who is leader(elected as leader/vote for other/receive valid logs), no more shortcut.