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
6d5d8d10
Commit
6d5d8d10
authored
Dec 10, 2015
by
antirez
Browse files
Remove debugging message left there for error.
parent
2e43bcff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
6d5d8d10
...
@@ -3268,7 +3268,6 @@ void clusterCron(void) {
...
@@ -3268,7 +3268,6 @@ void clusterCron(void) {
* the orphaned masters. Note that it does not make sense to try
* the orphaned masters. Note that it does not make sense to try
* a migration if there is no master with at least *two* working
* a migration if there is no master with at least *two* working
* slaves. */
* slaves. */
if
(
orphaned_masters
)
serverLog
(
LL_WARNING
,
"0"
);
if
(
orphaned_masters
&&
max_slaves
>=
2
&&
this_slaves
==
max_slaves
)
if
(
orphaned_masters
&&
max_slaves
>=
2
&&
this_slaves
==
max_slaves
)
clusterHandleSlaveMigration
(
max_slaves
);
clusterHandleSlaveMigration
(
max_slaves
);
}
}
...
...
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