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
a8b09faf
Commit
a8b09faf
authored
Mar 21, 2013
by
antirez
Browse files
Cluster: comment no longer in sync with code removed.
parent
8c1bc8e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
a8b09faf
...
...
@@ -613,10 +613,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
/* This function is called only if a node is marked as FAIL, but we are able
* to reach it again. It checks if there are the conditions to undo the FAIL
* state.
*
* Currently we only revert the FAIL state if there are no slaves for this
* node, so that no promotion was possible. */
* state. */
void
clearNodeFailureIfNeeded
(
clusterNode
*
node
)
{
int
changes
=
0
;
time_t
now
=
time
(
NULL
);
...
...
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