Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDEV-35969] reset service manager status #3802

Open
wants to merge 2 commits into
base: 10.5
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions sql/wsrep_sst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,15 @@ static void* wsrep_sst_donor_monitor_thread(void *arg __attribute__((unused)))
"is not completed",
time_waited);
service_manager_extend_timeout(WSREP_EXTEND_TIMEOUT_INTERVAL,
"WSREP state transfer ongoing...");
"WSREP state transfer (role donor) ongoing...");
}
}

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;
}

Expand Down Expand Up @@ -162,13 +164,15 @@ static void* wsrep_sst_joiner_monitor_thread(void *arg __attribute__((unused)))
"is not completed",
time_waited);
service_manager_extend_timeout(WSREP_EXTEND_TIMEOUT_INTERVAL,
"WSREP state transfer ongoing...");
"WSREP state transfer (role joiner) ongoing...");
}
}

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;
}

Expand Down