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
8e3d910d
Unverified
Commit
8e3d910d
authored
Oct 10, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Oct 10, 2019
Browse files
Merge pull request #6429 from charsyam/feature/typo-slave
[trivial] fix typos salves to slaves in replication.c
parents
363604a2
bea0384f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
8e3d910d
...
...
@@ -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