Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e4b481a5
Commit
e4b481a5
authored
Mar 05, 2013
by
antirez
Browse files
Cluster: A comment updated in clusterCron().
parent
d728ec6d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
e4b481a5
...
@@ -1313,11 +1313,8 @@ void clusterCron(void) {
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment