MXS-1944 Store failover parameters in an object
Several of the parameters are passed on from function to function. Having them all in an object cleans things up and makes adding more data easier.
This commit is contained in:
@ -436,7 +436,7 @@ public:
|
||||
* @param reason_out Output for the reason server cannot be promoted
|
||||
* @return True, if suggested new master is a viable promotion candidate
|
||||
*/
|
||||
bool can_be_promoted(ClusterOperation op, const MariaDBServer* demotion_target, std::string* reason_out);
|
||||
bool can_be_promoted(OperationType op, const MariaDBServer* demotion_target, std::string* reason_out);
|
||||
|
||||
/**
|
||||
* Read the file contents and send them as sql queries to the server. Any data
|
||||
|
Reference in New Issue
Block a user