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
bea0384f
Commit
bea0384f
authored
Oct 07, 2019
by
charsyam
Browse files
fix type salves to slaves
parent
bd604470
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
bea0384f
...
...
@@ -585,7 +585,7 @@ int startBgsaveForReplication(int mincapa) {
}
/* If we failed to BGSAVE, remove the slaves waiting for a full
* resynchorinization from the list of s
a
lves, inform them with
* resynchorinization from the list of sl
a
ves, inform them with
* an error about what happened, close the connection ASAP. */
if
(
retval
==
C_ERR
)
{
serverLog
(
LL_WARNING
,
"BGSAVE for replication failed"
);
...
...
@@ -606,7 +606,7 @@ int startBgsaveForReplication(int mincapa) {
}
/* If the target is socket, rdbSaveToSlavesSockets() already setup
* the s
a
lves for a full resync. Otherwise for disk target do it now.*/
* the sl
a
ves for a full resync. Otherwise for disk target do it now.*/
if
(
!
socket_target
)
{
listRewind
(
server
.
slaves
,
&
li
);
while
((
ln
=
listNext
(
&
li
)))
{
...
...
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