Merge "Mariadb: Add logging output to wsrep-recover on startup"
This commit is contained in:
commit
76e4021648
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user