Skip to content
Snippets Groups Projects
Commit 31bf1bc2 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

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

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
parent 628d2667
No related branches found
No related tags found
1 merge request!134fix(discovery): don't fail if raft node is ready but leader_id is not
Pipeline #6426 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment