Skip to content

Commit

Permalink
MDEV-35969 wsrep: set new status for service manager
Browse files Browse the repository at this point in the history
On WSREP state transfer the status in service manager changes to:

WSREP state transfer ongoing...

This status was not changed after state transfer was complete. Let's
change it back to:

Taking your SQL requests now...
  • Loading branch information
eworm-de committed Jan 29, 2025
1 parent 75632a3 commit 0148cf6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sql/wsrep_sst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ 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, "READY=1\n"
"STATUS=Taking your SQL requests now...\n");

return NULL;
}

Expand Down Expand Up @@ -169,6 +172,9 @@ 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, "READY=1\n"
"STATUS=Taking your SQL requests now...\n");

return NULL;
}

Expand Down

0 comments on commit 0148cf6

Please sign in to comment.