Replies: 2 comments 1 reply
-
Hi @gaoshengL I don't quite understand your question. Kvrocks did recover data from the WAL of rocksdb without losing the old data. It will use the current data offset to request the increment syncing from the new master. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your answer。I use estimate_keys[metadata] to judge master and slave consistency,maybe it does not represent real ammount of keys |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I test kvrocks recently,when I kill master node,sentinel promote slave as new master.I restart the old master as slave to new master,I find that old master keys amount is less than new master.kvrocks can avoid this promble?Because of write ahead log,I think old master should recover data from binlog rather than lost data.
Beta Was this translation helpful? Give feedback.
All reactions