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
8d727af8
Commit
8d727af8
authored
Apr 08, 2011
by
antirez
Browse files
update state when FAIL is cleared from a node
parent
fd7a584f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
8d727af8
...
...
@@ -943,6 +943,7 @@ void clusterCron(void) {
node
->
flags
&=
~
REDIS_NODE_PFAIL
;
}
else
if
(
node
->
flags
&
REDIS_NODE_FAIL
&&
!
node
->
numslaves
)
{
node
->
flags
&=
~
REDIS_NODE_FAIL
;
clusterUpdateState
();
}
}
else
{
/* Timeout reached. Set the noad se possibly failing if it is
...
...
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