Skip to content

clutsering- support for auto drop/bring members when unavailable/available again #123

Closed Answered by sakno
gooddaytocodeee asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gooddaytocodeee , no, it's not possible. Raft algorithm ensures linearizable reads and consistent writes. To do this, the write must be accepted by the majority of nodes. For instance, the cluster consisting of 3 nodes requires at least 2 nodes for the consensus. For 2 nodes the majority is 2 nodes. Without the consensus, the leader cannot perform replication of a single write. Optionally, you can set Partitioning configuration option to true to keep the leader as long as possible even if it doesn't see the majority (see docs for more info). However, it will be an ephemeral leader which cannot process any write request due to absence of the majority.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@gooddaytocodeee
Comment options

@sakno
Comment options

sakno Sep 2, 2022
Maintainer

@gooddaytocodeee
Comment options

@sakno
Comment options

sakno Sep 6, 2022
Maintainer

@gooddaytocodeee
Comment options

Answer selected by gooddaytocodeee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants