MXS-2169 Add 'enforce_simple_topology'-setting

Does not add any functionality yet.
This commit is contained in:
Esa Korhonen
2019-05-09 17:49:52 +03:00
parent c801789ff3
commit d2f3e56d0a
2 changed files with 34 additions and 7 deletions

View File

@ -220,6 +220,8 @@ private:
* on disk space to maintenance. */
bool enforce_read_only_slaves {false}; /* If true, the monitor checks and enforces every tick
* that all slaves are in read-only-mode. */
bool enforce_simple_topology {false}; /* Can the monitor assume and enforce a simple, 1-master
* and N slaves topology? Also allows unsafe failover */
SharedSettings shared; /* Settings required by MariaDBServer objects */
};