Changing the description of a configuration and remove arb pcode from bypass list
This commit is contained in:
parent
e26cdac224
commit
eb7a79267e
@ -39,19 +39,6 @@ int ob_is_bypass_pcode(uint32_t pcode)
|
|||||||
int bret = 0;
|
int bret = 0;
|
||||||
if (pcode >= OB_TABLE_API_LOGIN && pcode <= OB_TABLE_API_MOVE) { //table_api
|
if (pcode >= OB_TABLE_API_LOGIN && pcode <= OB_TABLE_API_MOVE) { //table_api
|
||||||
bret = 1;
|
bret = 1;
|
||||||
}
|
|
||||||
#ifdef OB_BUILD_ARBITRATION
|
|
||||||
else if (OB_CREATE_ARB == pcode || OB_DELETE_ARB == pcode
|
|
||||||
|| OB_LOG_FORCE_CLEAR_ARB_CLUSTER_INFO == pcode
|
|
||||||
|| OB_ARB_CLUSTER_OP == pcode) { //arb
|
|
||||||
bret = 1;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
else if (OB_SET_MEMBER_LIST == pcode || OB_ARB_GC_NOTIFY == pcode
|
|
||||||
|| OB_SET_CONFIG == pcode) { //arb
|
|
||||||
bret = 1;
|
|
||||||
} else if (pcode >= OB_LOG_PUSH_REQ && pcode <= OB_LOG_BATCH_FETCH_RESP) { //arb
|
|
||||||
bret = 1;
|
|
||||||
} else if (OB_LOG_REQ_START_LSN_BY_TS == pcode || OB_LS_FETCH_LOG2 == pcode
|
} else if (OB_LOG_REQ_START_LSN_BY_TS == pcode || OB_LS_FETCH_LOG2 == pcode
|
||||||
|| OB_LS_FETCH_MISSING_LOG == pcode) { //libcdc or standby cluster
|
|| OB_LS_FETCH_MISSING_LOG == pcode) { //libcdc or standby cluster
|
||||||
bret = 1;
|
bret = 1;
|
||||||
|
@ -1838,7 +1838,7 @@ DEF_INT(optimizer_index_cost_adj, OB_TENANT_PARAMETER, "0", "[0,100]",
|
|||||||
"adjust costing of index scan",
|
"adjust costing of index scan",
|
||||||
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
DEF_BOOL(enable_rpc_authentication_bypass, OB_CLUSTER_PARAMETER, "True",
|
DEF_BOOL(enable_rpc_authentication_bypass, OB_CLUSTER_PARAMETER, "True",
|
||||||
"specifies whether allow arbitration service, standby cluster, OMS service to connect "
|
"specifies whether allow OMS service to connect "
|
||||||
"cluster and provide service when rpc authentication is turned on.",
|
"cluster and provide service when rpc authentication is turned on.",
|
||||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user