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
4f7d1e46
Commit
4f7d1e46
authored
Nov 27, 2015
by
antirez
Browse files
Fix renamed define after merge.
parent
3626699f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
4f7d1e46
...
@@ -2624,7 +2624,7 @@ void clusterLogCantFailover(int reason) {
...
@@ -2624,7 +2624,7 @@ void clusterLogCantFailover(int reason) {
(
mstime
()
-
myself
->
slaveof
->
fail_time
)
<
nolog_fail_time
)
return
;
(
mstime
()
-
myself
->
slaveof
->
fail_time
)
<
nolog_fail_time
)
return
;
switch
(
reason
)
{
switch
(
reason
)
{
case
CLUSTER_CANT_FAILOVER_DATA_AGE
:
case
REDIS_
CLUSTER_CANT_FAILOVER_DATA_AGE
:
msg
=
"Disconnected from master for longer than allowed. "
msg
=
"Disconnected from master for longer than allowed. "
"Please check the 'cluster-slave-validity-factor' configuration "
"Please check the 'cluster-slave-validity-factor' configuration "
"option."
;
"option."
;
...
...
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