You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "superchee0526 (via GitHub)" <gi...@apache.org> on 2025/09/15 02:37:08 UTC

[D] Data loss during detection period [kvrocks]

GitHub user superchee0526 created a discussion: Data loss during detection period

I have a question about the master/slave switch process.

During the controller’s detection period, the old master can still accept write requests, but it cannot replicate the data to the slaves. After the failure is detected, one of the slaves is promoted to master. Even the old master later rejoins the cluster, the data written during that detection period is lost.

Is my understanding correct?

GitHub link: https://github.com/apache/kvrocks/discussions/3173

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Data loss during detection period [kvrocks]

Posted by "superchee0526 (via GitHub)" <gi...@apache.org>.
GitHub user superchee0526 added a comment to the discussion: Data loss during detection period

Thank you!

GitHub link: https://github.com/apache/kvrocks/discussions/3173#discussioncomment-14409909

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Data loss during detection period [kvrocks]

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Data loss during detection period

@superchee0526 

> Is my understanding correct?

Yes, that's correct for the current implementation. But we can mitigate this issue after introducing the WAIT command in the next release.

GitHub link: https://github.com/apache/kvrocks/discussions/3173#discussioncomment-14402093

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org