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
3a99d122
Commit
3a99d122
authored
Feb 21, 2013
by
antirez
Browse files
Aesthetic change to make a line more 80-cols friendly.
parent
5fd9f701
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
3a99d122
...
@@ -1431,9 +1431,9 @@ void clusterCommand(redisClient *c) {
...
@@ -1431,9 +1431,9 @@ void clusterCommand(redisClient *c) {
/* If this node was importing this slot, assigning the slot to
/* If this node was importing this slot, assigning the slot to
* itself also clears the importing status. */
* itself also clears the importing status. */
if
(
n
==
server
.
cluster
->
myself
&&
server
.
cluster
->
importing_slots_from
[
slot
])
if
(
n
==
server
.
cluster
->
myself
&&
server
.
cluster
->
importing_slots_from
[
slot
])
server
.
cluster
->
importing_slots_from
[
slot
]
=
NULL
;
server
.
cluster
->
importing_slots_from
[
slot
]
=
NULL
;
clusterDelSlot
(
slot
);
clusterDelSlot
(
slot
);
clusterAddSlot
(
n
,
slot
);
clusterAddSlot
(
n
,
slot
);
}
else
{
}
else
{
...
...
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