-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Master - Removing a down node #192
Comments
Yes I agree that's a major missing feature. I've implemented it exactly as you described in change: 70b80aa |
Amazing! Thank you! |
Wow, I'm super glad I found this issue as I was getting ready to implement I opened Snapchat/KeyDB-docs#49 for this, and THANK YOU for this fix which I can immediately use! |
When running KeyDB in a multi-master setup, if a master fails and is unable to reacquire the same address upon startup, the node moves into a
master_link_status:down
state. It would be nice to be able to remove the bad replica without having to restart the KeyDb process.REPLICAOF NO ONE
removes all nodes, in which case the healthy nodes would have to be added back in, causing a lapse in replication / availability.It would be nice to have a command something like
REPLICAOF REMOVE IP PORT
which would remove a master from the replication group.I haven't found an alternative that allows removing nodes in a zero down time way, while still retaining the other health replication members.
The text was updated successfully, but these errors were encountered: