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

[PR] enhance the slave node promotion [kvrocks-controller]

greatsharp opened a new pull request, #340:
URL: https://github.com/apache/kvrocks-controller/pull/340

   1. When slave node doing full sync replication,  it will return 'LOADING kvrocks is restoring the db from backup' error by executing 'cluster info' command, but it will return empty keyspace info if executing 'info' command.
   - We should skip the node if executing 'cluster info' command error.
   2. If slave node doing full sync replication failed, and slave node reboot, both 'cluster info' and info command can execute correctly, but the sequence returned is 0.
   - We should skip the node if sequence is 0 or role is not slave.


-- 
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: [PR] enhance the slave node promotion [kvrocks-controller]

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk merged PR #340:
URL: https://github.com/apache/kvrocks-controller/pull/340


-- 
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: [PR] enhance the slave node promotion [kvrocks-controller]

Posted by "greatsharp (via GitHub)" <gi...@apache.org>.
greatsharp commented on PR #340:
URL: https://github.com/apache/kvrocks-controller/pull/340#issuecomment-3311369234

   this enhancement can prevent controller select an empty slave(sequence=0) into new master, but it will cause failover API failed in case of empty shard.


-- 
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