Browse Source

MDEV-35969 wsrep: set new status for service manager

On WSREP state transfer the status in service manager changes to:

    WSREP state transfer (role ...) ongoing...

This status was not changed after state transfer was complete. Let's
change it again to reflect now situation:

    WSREP state transfer (role ...) comleted.

Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
bb-11.4-MDEV-35969-galera
Christian Hesse 9 months ago
committed by Julius Goryavsky
parent
commit
02893e875b
  1. 4
      sql/wsrep_sst.cc

4
sql/wsrep_sst.cc

@ -132,6 +132,8 @@ static void* wsrep_sst_donor_monitor_thread(void *arg __attribute__((unused)))
WSREP_INFO("Donor monitor thread ended with total time %lu sec", time_waited);
mysql_mutex_unlock(&LOCK_wsrep_donor_monitor);
sd_notify(0, "STATUS=WSREP state transfer (role donor) completed.\n");
return NULL;
}
@ -169,6 +171,8 @@ static void* wsrep_sst_joiner_monitor_thread(void *arg __attribute__((unused)))
WSREP_INFO("Joiner monitor thread ended with total time %lu sec", time_waited);
mysql_mutex_unlock(&LOCK_wsrep_joiner_monitor);
sd_notify(0, "STATUS=WSREP state transfer (role joiner) completed.\n");
return NULL;
}

Loading…
Cancel
Save