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

fix: don't update current_master_name until it synchronizes

This patch changes when we update current_master_name during consistent
master switchover. Now it is updated as soon as we determine that the
new master has synchronized it's vclock with the old master.

As a result we can now block expel of a non-last replica in cases where
other replicas are offline, which is crucial because instances can
easily become offline due to temporary network issues.
parent 41ca8ad4
No related branches found
No related tags found
1 merge request!1325fix: expel is blocked by master switchover even if replicas are offline
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