支持gs_guc配置同步备机时可以有8个备机
This commit is contained in:
@ -64,7 +64,6 @@
|
|||||||
|
|
||||||
#define STATIC_CONFIG_FILE "cluster_static_config"
|
#define STATIC_CONFIG_FILE "cluster_static_config"
|
||||||
#define DYNAMIC_DNROLE_FILE "cluster_dnrole_config"
|
#define DYNAMIC_DNROLE_FILE "cluster_dnrole_config"
|
||||||
#define CM_MAX_DATANODE_STANDBY_NUM 7
|
|
||||||
|
|
||||||
#define MAX_VALUE_LEN 1024
|
#define MAX_VALUE_LEN 1024
|
||||||
#define MAX_PARAM_LEN 1024
|
#define MAX_PARAM_LEN 1024
|
||||||
|
@ -55,7 +55,13 @@
|
|||||||
|
|
||||||
#define CM_PRIMARY_STANDBY_NUM (8) // supprot one primary and multi standby
|
#define CM_PRIMARY_STANDBY_NUM (8) // supprot one primary and multi standby
|
||||||
#define CM_MAX_CMSERVER_STANDBY_NUM (7)
|
#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
|
#define CM_MAX_DATANODE_STANDBY_NUM 7
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CM_MAX_GTM_STANDBY_NUM (7)
|
#define CM_MAX_GTM_STANDBY_NUM (7)
|
||||||
|
|
||||||
#define HAVE_GTM 1
|
#define HAVE_GTM 1
|
||||||
|
Reference in New Issue
Block a user