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
b83f9fea
Commit
b83f9fea
authored
Jul 23, 2016
by
John.Koepi
Committed by
antirez
Feb 20, 2017
Browse files
fix #2883, #2857 pipe fds leak when fork() failed on bg aof rw
parent
10dbb5cd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/aof.c
View file @
b83f9fea
...
...
@@ -1295,6 +1295,7 @@ int rewriteAppendOnlyFileBackground(void) {
serverLog
(
LL_WARNING
,
"Can't rewrite append only file in background: fork: %s"
,
strerror
(
errno
));
aofClosePipes
();
return
C_ERR
;
}
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