mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Cluster: A comment updated in clusterCron().
This commit is contained in:
parent
d728ec6dee
commit
e4b481a5f6
@ -1313,11 +1313,8 @@ void clusterCron(void) {
|
|||||||
* help if it is not transitive (that is, if it does not
|
* help if it is not transitive (that is, if it does not
|
||||||
* turn into a FAIL state).
|
* turn into a FAIL state).
|
||||||
*
|
*
|
||||||
* The FAIL condition is also reversible if there are no slaves
|
* The FAIL condition is also reversible under specific
|
||||||
* for this host, so no slave election should be in progress.
|
* conditions detected by clearNodeFailureIfNeeded(). */
|
||||||
*
|
|
||||||
* TODO: consider all the implications of resurrecting a
|
|
||||||
* FAIL node. */
|
|
||||||
if (node->flags & REDIS_NODE_PFAIL) {
|
if (node->flags & REDIS_NODE_PFAIL) {
|
||||||
node->flags &= ~REDIS_NODE_PFAIL;
|
node->flags &= ~REDIS_NODE_PFAIL;
|
||||||
} else if (node->flags & REDIS_NODE_FAIL) {
|
} else if (node->flags & REDIS_NODE_FAIL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user