Implement config file parsing

This commit is contained in:
Ian Barwick
2017-04-21 12:11:00 +09:00
parent 7d0e061088
commit 0b0a0c69fc
3 changed files with 623 additions and 9 deletions

View File

@@ -24,9 +24,16 @@
#define NO_UPSTREAM_NODE -1
#define UNKNOWN_NODE_ID -1
#define REPLICATION_TYPE_PHYSICAL 1
#define REPLICATION_TYPE_BDR 2
#define BDR_MONITORING_LOCAL 1
#define BDR_MONITORING_PRIORITY 2
#define MANUAL_FAILOVER 0
#define AUTOMATIC_FAILOVER 1
#define DEFAULT_PRIORITY 100
#define DEFAULT_PRIORITY 100
#define FAILOVER_NODES_MAX_CHECK 50
#endif