You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "bbqccx (via GitHub)" <gi...@apache.org> on 2024/04/13 01:34:51 UTC
[I] The slave node does not need to failover [kvrocks-controller]
bbqccx opened a new issue, #162:
URL: https://github.com/apache/kvrocks-controller/issues/162
When we find that the slave node is abnormally connected or the master node fails and switches to the slave, the slave node will still be added to the failover candidates and failover task process. In fact, the slave does not need to switch; it just needs to prompt for logs indicating the connection exception.
for example:
{"level":"info","timestamp":"2024-04-12T15:12:31.208+0800","caller":"probe/cluster.go:103","msg":"Add the node into the fail over candidates","id":"73o7UbE51haonhk5cr2IkRUVNPUlBIOlGDqam2Kb"
,"role":"slave","addr":"10.1.1.1:9012"}
{"level":"info","timestamp":"2024-04-12T15:12:25.215+0800","caller":"failover/cluster.go:215","msg":"Finish the fail over task","task":{"namespace":"nimtest","cluster":"nimtestkv-2","shard_
idx":6,"node":{"id":"73o7UbE51haonhk5cr2IkRUVNPUlBIOlGDqam2Kb","addr":"10.1.1.1:9012","role":"slave","password":"xxx","created_at":0},"type":1,"probe_count":0,"pending_time":1712905921,"start_time":1712905945,"finish_time":1712905942,"status":3,"error":""}}
--
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] The slave node does not need to failover [kvrocks-controller]
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk closed issue #162: The slave node does not need to failover
URL: https://github.com/apache/kvrocks-controller/issues/162
--
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] The slave node does not need to failover [kvrocks-controller]
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk commented on issue #162:
URL: https://github.com/apache/kvrocks-controller/issues/162#issuecomment-2052903158
@bbqccx Thanks for your feedback.
--
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