Disable parameters on main worker

Disabling the parameter on the main worker prevents deadlocks if the
parameter is disabled at the same time a monitor diagnostic is executed.
This commit is contained in:
Markus Mäkelä
2018-08-02 09:50:18 +03:00
parent 0d934476b0
commit d22b02047f
2 changed files with 11 additions and 6 deletions

View File

@ -264,7 +264,7 @@ private:
int seconds_remaining);
// Other methods
void disable_setting(const char* setting);
void disable_setting(const std::string& setting);
bool check_sql_files();
void enforce_read_only_on_slaves();
};