MXS-2271 Refactor disk space checking
The functions are now in MonitorServer. Disk space can only be checked during specific ticks. If a server misses a tick (e.g. is down) it will be checked after disk_space_check_interval has passed.
This commit is contained in:
@ -255,7 +255,7 @@ private:
|
||||
MariaDBServer* get_server(SERVER* server);
|
||||
|
||||
// Cluster discovery and status assignment methods, top levels
|
||||
void update_server(MariaDBServer* server);
|
||||
void update_server(MariaDBServer* server, bool time_to_update_disk_space);
|
||||
void update_topology();
|
||||
void build_replication_graph();
|
||||
void assign_new_master(MariaDBServer* new_master);
|
||||
|
Reference in New Issue
Block a user