GitHub user git-hulk added a comment to the discussion: Kvrocks gracefully failover design proposal
@yuzegao Thanks for your information. > Implement the SLAVEOF NO ONE GRACEFUL command in kvrocks to ensure data > consistency between the master and slave instances during a master-slave > failover In my opinion, the main issue is that Redis Sentinel doesn't use `sentinel failover` to switch the master. And it is now also having the data loss issue while failovering via the sentinel. And it's quite strange to require that the slave MUST be consistent with the old master. > kvrocks implements the "CLUSTERX FAILOVER" command, which works with the > kvrocks controller to reverse the master-slave roles. I prefer implementing the `FAILOVER` command in Kvrocks only, and then updating the cluster topology information via the controller once it succeeds. GitHub link: https://github.com/apache/kvrocks/discussions/3218#discussioncomment-14790622 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
