Cluster: log message improved when FAIL is cleared from a slave node.

This commit is contained in:
antirez 2013-10-07 15:44:58 +02:00
parent 72f38cd70f
commit 2c3301b9f5

View File

@ -681,7 +681,7 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
* node again. */ * node again. */
if (node->flags & REDIS_NODE_SLAVE) { if (node->flags & REDIS_NODE_SLAVE) {
redisLog(REDIS_NOTICE, redisLog(REDIS_NOTICE,
"Clear FAIL state for node %.40s: slave is already reachable.", "Clear FAIL state for node %.40s: slave is reachable again.",
node->name); node->name);
node->flags &= ~REDIS_NODE_FAIL; node->flags &= ~REDIS_NODE_FAIL;
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG); clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);