Skip to content
Snippets Groups Projects

fix(discovery): don't fail if raft node is ready but leader_id is not

Merged Georgy Moshkin requested to merge fix/proc_discover-when-status-not-ready into master
All threads resolved!

If proc_discover is invoked after raft node was initialized but before raft leader was elected, it would return an error before this commit. Because of that it was impossible to restart the whole cluster at once.

This commit change proc_discover such that in case leader_id is not ready, the normal discovery algorithm takes place.

Closes #93 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Georgy Moshkin added 1 commit

    added 1 commit

    • 31bf1bc2 - fix(discovery): don't fail if raft node is ready but leader_id is not

    Compare with previous version

  • Georgy Moshkin resolved all threads

    resolved all threads

  • Yaroslav Dynnikov approved this merge request

    approved this merge request

  • Georgy Moshkin enabled an automatic merge when the pipeline for 31bf1bc2 succeeds

    enabled an automatic merge when the pipeline for 31bf1bc2 succeeds

  • Please register or sign in to reply
    Loading