mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Cluster: fix CLUSTER NODES optimization error in 'j' increment.
This commit is contained in:
parent
4ed7582c7b
commit
93b1320fac
@ -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 += 32;
|
||||
j += 31; /* The for loop will increment j one more time. */
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user