Commit 7119149f authored by Alexey Yurchenko's avatar Alexey Yurchenko Committed by Julius Goryavsky

If donor loop receives unknown signal from the SST script it is an

error condition (SST failure), so it should set error code before
exiting.
Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
parent 69c6cb5d
......@@ -1840,6 +1840,8 @@ static void* sst_donor_thread (void* a)
else
{
WSREP_WARN("Received unknown signal: '%s'", out);
/* since it is the end of the loop, we must set error code */
err=-EINVAL;
proc.wait();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment