Skip to content

new error type: ER_SPLIT_BRAIN #2954

Closed
@TarantoolBot

Description

@TarantoolBot

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.

Metadata

Metadata

Assignees

Labels

featureA new functionalityreference[location] Tarantool manual, Reference partreplication[area] Related to Replicationserver[area] Task relates to Tarantool's server (core) functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions