Skip to content

Rolling deployments & maintaining quorum #227

Answered by michaelklishin
a3kov asked this question in Q&A
Discussion options

You must be logged in to vote

@a3kov there isn't really a whole lot of room for debate. This RabbitMQ upgrade guide explains how multi-node Raft-base systems are upgraded. In fact, most distributed systems are upgraded in a similar fashion, where a minority or overwhelming minority (say, 1 or 3 depending on how many nodes you have in total) of nodes are upgraded and restarted at any given moment, then then next batch, then the next.

In RabbitMQ, there are CLI and HTTP API endpoints that allow you to check if the node is quorum-critical, that is, if restarting it will lead some quorum queues or streams without a quorum.
Nothing like that exists of Khepri but you can quite easily steal the idea.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Comment options

You must be logged in to vote
3 replies
@a3kov
Comment options

@a3kov
Comment options

@michaelklishin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants