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
19ac9af0
Commit
19ac9af0
authored
Apr 22, 2014
by
kingsumos
Committed by
antirez
Apr 23, 2014
Browse files
fix cluster node description showing wrong slot allocation
parent
7b25ff4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
19ac9af0
...
@@ -3131,7 +3131,7 @@ sds clusterGenNodeDescription(clusterNode *node) {
...
@@ -3131,7 +3131,7 @@ sds clusterGenNodeDescription(clusterNode *node) {
if
(
start
==
-
1
)
start
=
j
;
if
(
start
==
-
1
)
start
=
j
;
}
}
if
(
start
!=
-
1
&&
(
!
bit
||
j
==
REDIS_CLUSTER_SLOTS
-
1
))
{
if
(
start
!=
-
1
&&
(
!
bit
||
j
==
REDIS_CLUSTER_SLOTS
-
1
))
{
if
(
j
==
REDIS_CLUSTER_SLOTS
-
1
)
j
++
;
if
(
bit
&&
j
==
REDIS_CLUSTER_SLOTS
-
1
)
j
++
;
if
(
start
==
j
-
1
)
{
if
(
start
==
j
-
1
)
{
ci
=
sdscatprintf
(
ci
,
" %d"
,
start
);
ci
=
sdscatprintf
(
ci
,
" %d"
,
start
);
...
...
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