Skip to content

Commit 02893e8

Browse files
eworm-desysprg
authored andcommitted
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 <[email protected]>
1 parent 0b87628 commit 02893e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sql/wsrep_sst.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ static void* wsrep_sst_donor_monitor_thread(void *arg __attribute__((unused)))
132132
WSREP_INFO("Donor monitor thread ended with total time %lu sec", time_waited);
133133
mysql_mutex_unlock(&LOCK_wsrep_donor_monitor);
134134

135+
sd_notify(0, "STATUS=WSREP state transfer (role donor) completed.\n");
136+
135137
return NULL;
136138
}
137139

@@ -169,6 +171,8 @@ static void* wsrep_sst_joiner_monitor_thread(void *arg __attribute__((unused)))
169171
WSREP_INFO("Joiner monitor thread ended with total time %lu sec", time_waited);
170172
mysql_mutex_unlock(&LOCK_wsrep_joiner_monitor);
171173

174+
sd_notify(0, "STATUS=WSREP state transfer (role joiner) completed.\n");
175+
172176
return NULL;
173177
}
174178

0 commit comments

Comments
 (0)