Merge "Mariadb: Add logging output to wsrep-recover on startup"

This commit is contained in:
Zuul 2019-04-02 01:32:01 +00:00 committed by Gerrit Code Review
commit 76e4021648

View File

@ -505,6 +505,8 @@ def update_grastate_on_restart():
stderr=subprocess.PIPE)
out, err = wsrep_recover.communicate()
for item in err.split("\n"):
logger.info(
"Recovering wsrep position: {0}".format(item))
if "WSREP: Recovered position:" in item:
line = item.strip().split()
wsrep_rec_pos = line[-1].split(':')[-1]