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
5c21eca6
Unverified
Commit
5c21eca6
authored
Mar 21, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 21, 2019
Browse files
Merge pull request #5243 from oranagra/sigterm_log
Add log when server dies of SIGTERM during loading
parents
ce518cea
17c5f176
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
5c21eca6
...
...
@@ -4500,6 +4500,7 @@ static void sigShutdownHandler(int sig) {
rdbRemoveTempFile
(
getpid
());
exit
(
1
);
/* Exit with an error since this was not a clean shutdown. */
}
else
if
(
server
.
loading
)
{
serverLogFromHandler
(
LL_WARNING
,
"Received shutdown signal during loading, exiting now."
);
exit
(
0
);
}
...
...
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