Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1139070a
Commit
1139070a
authored
Jun 28, 2018
by
dejun.xdj
Browse files
Fix trailing white space.
parent
bbd0ca95
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
1139070a
...
@@ -4867,7 +4867,7 @@ static int clusterManagerCommandRebalance(int argc, char **argv) {
...
@@ -4867,7 +4867,7 @@ static int clusterManagerCommandRebalance(int argc, char **argv) {
}
}
/* Calculate the slots balance for each node. It's the number of
/* Calculate the slots balance for each node. It's the number of
* slots the node should lose (if positive) or gain (if negative)
* slots the node should lose (if positive) or gain (if negative)
* in order to be balanced. */
* in order to be balanced. */
int
threshold_reached
=
0
,
total_balance
=
0
;
int
threshold_reached
=
0
,
total_balance
=
0
;
float
threshold
=
config
.
cluster_manager_command
.
threshold
;
float
threshold
=
config
.
cluster_manager_command
.
threshold
;
i
=
0
;
i
=
0
;
...
...
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