increase the upper limit of memory_limit_percentage to 95
This commit is contained in:
@ -200,8 +200,8 @@ DEF_BOOL(enable_syslog_recycle, OB_CLUSTER_PARAMETER, "False",
|
||||
"specifies whether log file recycling is turned on. "
|
||||
"Value: True:turned on; False: turned off",
|
||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||
DEF_INT(memory_limit_percentage, OB_CLUSTER_PARAMETER, "80", "[10, 90]",
|
||||
"the size of the memory reserved for internal use(for testing purpose). Range: [10, 90]",
|
||||
DEF_INT(memory_limit_percentage, OB_CLUSTER_PARAMETER, "80", "[10, 95]",
|
||||
"the size of the memory reserved for internal use(for testing purpose). Range: [10, 95]",
|
||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||
DEF_CAP(cache_wash_threshold, OB_CLUSTER_PARAMETER, "4GB", "[0B,]",
|
||||
"size of remaining memory at which cache eviction will be triggered. Range: [0,+∞)",
|
||||
|
||||
@ -5686,6 +5686,7 @@ int ObPartTransCtx::switch_to_follower_gracefully(ObIArray<ObTxCommitCallback> &
|
||||
if (pending_write_) {
|
||||
TRANS_LOG(INFO, "current tx is executing stmt", K(*this));
|
||||
mt_ctx_.wait_pending_write();
|
||||
timeguard.click();
|
||||
need_submit_log = true;
|
||||
} else if (!is_committing_()) {
|
||||
need_submit_log = true;
|
||||
|
||||
Reference in New Issue
Block a user