Fix Galera monitor problem with leaving wrong status for significant periods; change warning message from logging as warning instead of notice.
This commit is contained in:
@ -686,6 +686,18 @@ server_clear_status(SERVER *server, int bit)
|
||||
server->status &= ~bit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Transfer status bitstring from one server to another
|
||||
*
|
||||
* @param dest_server The server to be updated
|
||||
* @param source_server The server to provide the new bit string
|
||||
*/
|
||||
void
|
||||
server_transfer_status(SERVER *dest_server, SERVER *source_server)
|
||||
{
|
||||
dest_server->status = source_server->status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a user name and password to use for monitoring the
|
||||
* state of the server.
|
||||
|
Reference in New Issue
Block a user