You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "ninuxer (via GitHub)" <gi...@apache.org> on 2025/11/19 05:24:34 UTC
[I] Failover failed because of sequence is 0 [kvrocks-controller]
ninuxer opened a new issue, #366:
URL: https://github.com/apache/kvrocks-controller/issues/366
#340 is good, but when an instance has never had any data written to it (so its sequence number is 0), performing a failover operation will fail.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Failover failed because of sequence is 0 [kvrocks-controller]
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk commented on issue #366:
URL: https://github.com/apache/kvrocks-controller/issues/366#issuecomment-3552239945
@ninuxer It's a good way to avoid this situation when the master is still alive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Failover failed because of sequence is 0 [kvrocks-controller]
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk commented on issue #366:
URL: https://github.com/apache/kvrocks-controller/issues/366#issuecomment-3550887916
@ninuxer Yes, perhaps we could provide a switch to disable this restriction.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Failover failed because of sequence is 0 [kvrocks-controller]
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk closed issue #366: Failover failed because of sequence is 0
URL: https://github.com/apache/kvrocks-controller/issues/366
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Failover failed because of sequence is 0 [kvrocks-controller]
Posted by "ninuxer (via GitHub)" <gi...@apache.org>.
ninuxer commented on issue #366:
URL: https://github.com/apache/kvrocks-controller/issues/366#issuecomment-3551328349
@git-hulk Could we retrieve the `sequence` of the master node within the `store/cluster_shard.go: getNewMasterNodeIndex` function? If the master's sequence is also 0, it means that no data has ever been written to this shard, and in this case, we can skip the validation of the slave node's sequence is 0.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org