Description
Related dev. issue(s): tarantool/tarantool#5295
Part of the Errors epic
Product: Tarantool
Since: 2.10
Audience/target:
Root document: https://www.tarantool.io/en/doc/latest/book/replication/repl_leader_elect/
SME: @ sergepetrenko, @ grafin
If for some reason the cluster had 2 leaders working independently (for
example, user has mistakenly lovered the quorum below N / 2 + 1), then
once such leaders and their followers try connecting to each other, they
will receive the ER_SPLIT_BRAIN error, and the connection will be
aborted. This is done to preserve data integrity. Once the user notices
such an error he or she has to manually inspect the data on both the
split halves, choose a way to restore the data, and rebootstrap one of
the halves from the other.
Requested by @cyrillos in tarantool/tarantool@af7d703.