Convert configuration file parmeter "failover_mode" to an enum

We might want to add more modes in the future.
This commit is contained in:
Ian Barwick
2017-06-21 09:53:41 +09:00
parent 94a88326ef
commit 5ab2ac0e9a
3 changed files with 14 additions and 11 deletions

View File

@@ -33,8 +33,6 @@
#define BDR_MONITORING_LOCAL 1
#define BDR_MONITORING_PRIORITY 2
#define MANUAL_FAILOVER 0
#define AUTOMATIC_FAILOVER 1
#define DEFAULT_PRIORITY 100
#define FAILOVER_NODES_MAX_CHECK 50