Skip to content

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

Georgy Moshkin requested to merge fix/proc_discover-when-status-not-ready into master

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