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
0201dea5
Commit
0201dea5
authored
Jan 17, 2018
by
heqin
Committed by
antirez
Jan 18, 2018
Browse files
fixbug for #4545 dead loop aof rewrite
parent
926beaa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
0201dea5
...
...
@@ -1104,7 +1104,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
/* Trigger an AOF rewrite if needed */
// If AOF disabled, we don't rewrite AOF file.
if
(
server
.
aof_
fd
!=
-
1
&&
if (server.aof_
state == AOF_ON
&&
server.rdb_child_pid == -1 &&
server.aof_child_pid == -1 &&
server.aof_rewrite_perc &&
...
...
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