Browse Source

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: Julius Goryavsky <julius.goryavsky@mariadb.com>
pull/3406/head
Alexey Yurchenko 1 year ago
committed by Julius Goryavsky
parent
commit
7119149f83
  1. 2
      sql/wsrep_sst.cc

2
sql/wsrep_sst.cc

@ -1840,6 +1840,8 @@ wait_signal:
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();
}
}

Loading…
Cancel
Save