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 30, 2025
1 parent 75632a3 commit fb23530
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sql/wsrep_sst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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=Taking your SQL requests now...\n");

return NULL;
}

Expand Down Expand Up @@ -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=Taking your SQL requests now...\n");

return NULL;
}

Expand Down

0 comments on commit fb23530

Please sign in to comment.