Stop monitors first when shutting down
As monitors aren't synchronized with the worker threads, they need to be shut down first.
This commit is contained in:
@ -2076,6 +2076,9 @@ int main(int argc, char **argv)
|
|||||||
ss_dassert(worker);
|
ss_dassert(worker);
|
||||||
worker->run();
|
worker->run();
|
||||||
|
|
||||||
|
/*< Stop all the monitors */
|
||||||
|
monitorStopAll();
|
||||||
|
|
||||||
/** Stop administrative interface */
|
/** Stop administrative interface */
|
||||||
mxs_admin_shutdown();
|
mxs_admin_shutdown();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user