From cb3065412f7ef7876fd2231bddc5ff2d855ccedb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 29 Jan 2025 11:45:15 +0100 Subject: [PATCH] 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. --- sql/wsrep_sst.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/wsrep_sst.cc b/sql/wsrep_sst.cc index cf517746bf0e2..69e2b86743e70 100644 --- a/sql/wsrep_sst.cc +++ b/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; }