支持gs_guc配置同步备机时可以有8个备机

This commit is contained in:
liyifeng_seu
2020-11-04 14:24:53 +08:00
parent 3a33fded7b
commit 5b41afdb66
2 changed files with 6 additions and 1 deletions

View File

@ -64,7 +64,6 @@
#define STATIC_CONFIG_FILE "cluster_static_config"
#define DYNAMIC_DNROLE_FILE "cluster_dnrole_config"
#define CM_MAX_DATANODE_STANDBY_NUM 7
#define MAX_VALUE_LEN 1024
#define MAX_PARAM_LEN 1024

View File

@ -55,7 +55,13 @@
#define CM_PRIMARY_STANDBY_NUM (8) // supprot one primary and multi standby
#define CM_MAX_CMSERVER_STANDBY_NUM (7)
#ifndef ENABLE_MULTIPLE_NODES
#define CM_MAX_DATANODE_STANDBY_NUM 8
#else
#define CM_MAX_DATANODE_STANDBY_NUM 7
#endif
#define CM_MAX_GTM_STANDBY_NUM (7)
#define HAVE_GTM 1