You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start 1 slave. Auto Service discovery enables it to replicate from any master
Do some writes
Shut down the master that the slave is replicating from. Can get the master from - /bin/dkvctl -dkvAddr 127.0.0.1:8001 -getClusterInfo <"dc id">
Wait for slave to replicate from another master
Do some more writes
Shut down the new master that the slave is replicating from. Can get the master from - /bin/dkvctl -dkvAddr 127.0.0.1:8001 -getClusterInfo <"dc id">
Do steps 6 and 7 until slave starts replicating from a previous master again. Once it gets to this stage, replication will fail due to slave having higher change number that master
Specifically because the change numbers aren't consistent across raft nodes (when one of them restarts it applies all changes to its own state), this trickles to slaves too which can thus have a higher change number than another node and is thus now not sure what change number to replicate from
The text was updated successfully, but these errors were encountered:
Due to #72 and after changes in #73 , the following scenario breaks
Specifically because the change numbers aren't consistent across raft nodes (when one of them restarts it applies all changes to its own state), this trickles to slaves too which can thus have a higher change number than another node and is thus now not sure what change number to replicate from
The text was updated successfully, but these errors were encountered: