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
2444c82a
Commit
2444c82a
authored
Aug 02, 2016
by
Salvatore Sanfilippo
Committed by
GitHub
Aug 02, 2016
Browse files
Merge pull request #3426 from QuChen88/3.2
Fix a bug to delay bgsave while AOF rewrite in progress for replication
parents
71536684
e67ad1d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
2444c82a
...
...
@@ -676,7 +676,7 @@ void syncCommand(client *c) {
/* Target is disk (or the slave is not capable of supporting
* diskless replication) and we don't have a BGSAVE in progress,
* let's start one. */
if
(
server
.
aof_child_pid
!
=
-
1
)
{
if
(
server
.
aof_child_pid
=
=
-
1
)
{
startBgsaveForReplication
(
c
->
slave_capa
);
}
else
{
serverLog
(
LL_NOTICE
,
...
...
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