MXS-2273 Move maint_request from SERVER to MXS_MONITORED_SERVER

The _request_ for setting the status of a server relates to the
monitor and its MXS_MONITORED_SERVER, not to the SERVER itself.
This commit is contained in:
Johan Wikman
2019-01-28 14:36:32 +02:00
parent 727d3feb3b
commit 57a94b417d
3 changed files with 25 additions and 9 deletions

View File

@ -138,6 +138,8 @@ public:
uint64_t mon_prev_status = -1; /**< Status before starting the current monitor loop */
uint64_t pending_status = 0; /**< Status during current monitor loop */
int64_t disk_space_checked = 0; /**< When was the disk space checked the last time */
int maint_request = SERVER::MAINTENANCE_NO_CHANGE; /**< Is admin requesting Maintenance=ON/OFF on the
* server? */
};
#define MAX_MONITOR_USER_LEN 512