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
93b1320f
Commit
93b1320f
authored
Mar 13, 2015
by
antirez
Browse files
Cluster: fix CLUSTER NODES optimization error in 'j' increment.
parent
4ed7582c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
93b1320f
...
...
@@ -3590,7 +3590,7 @@ sds clusterGenNodeDescription(sds ci, clusterNode *node) {
uint32_t *slotword = ((uint32_t*)node->slots)+(j/32);
if ((start == -1 && *slotword == 0) ||
(start != -1 && *slotword == UINT32_MAX)) {
j
+=
3
2
;
j += 3
1; /* The for loop will increment j one more time. */
continue;
}
}
...
...
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