Skip to content
Snippets Groups Projects
Commit 277010b5 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files
Remove added logging, a message with 'saving snapshot %filename'
is already printed to the log by the child. It contains
snapshot pid. Snapshot fid is not as useful once the bug
is fixed.
parent dec91c89
No related branches found
No related tags found
No related merge requests found
......@@ -327,8 +327,6 @@ snapshot(void)
}
if (p > 0) {
snapshot_pid = p;
say_warn("Snapshot process was started, pid=%d, fid=%d",
snapshot_pid, fiber->fid);
int status = wait_for_child(p);
snapshot_pid = 0;
return (WIFSIGNALED(status) ? EINTR : WEXITSTATUS(status));
......@@ -357,8 +355,8 @@ static void
sig_snapshot(void)
{
if (snapshot_pid) {
say_warn("Snapshot process has already been started, "
"signal will be ignored");
say_warn("Snapshot process is already running,"
" the signal is ignored");
return;
}
fiber_call(fiber_create("snapshot", (fiber_func)snapshot));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment