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
9b05aafb
Commit
9b05aafb
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
76d87f47
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
9b05aafb
...
@@ -1357,6 +1357,7 @@ int rewriteAppendOnlyFileBackground(void) {
...
@@ -1357,6 +1357,7 @@ int rewriteAppendOnlyFileBackground(void) {
serverLog
(
LL_WARNING
,
serverLog
(
LL_WARNING
,
"Can't rewrite append only file in background: fork: %s"
,
"Can't rewrite append only file in background: fork: %s"
,
strerror
(
errno
));
strerror
(
errno
));
aofClosePipes
();
return
C_ERR
;
return
C_ERR
;
}
}
serverLog
(
LL_NOTICE
,
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