mirror of
https://github.com/fluencelabs/redis
synced 2025-03-16 15:40:49 +00:00
Cluster: log offset when announcing the failover election delay.
This commit is contained in:
parent
940531e9b7
commit
e2b59621a8
@ -2011,9 +2011,11 @@ void clusterHandleSlaveFailover(void) {
|
||||
server.cluster->failover_auth_time +=
|
||||
server.cluster->failover_auth_rank * 1000;
|
||||
redisLog(REDIS_WARNING,
|
||||
"Start of election delayed for %lld milliseconds (rank is #%d).",
|
||||
"Start of election delayed for %lld milliseconds "
|
||||
"(rank #%d, offset %lld).",
|
||||
server.cluster->failover_auth_time - mstime(),
|
||||
server.cluster->failover_auth_rank);
|
||||
server.cluster->failover_auth_rank,
|
||||
replicationGetSlaveOffset());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user