diff --git a/src/share/parameter/ob_parameter_seed.ipp b/src/share/parameter/ob_parameter_seed.ipp index c4692cffe9..ea168615a7 100755 --- a/src/share/parameter/ob_parameter_seed.ipp +++ b/src/share/parameter/ob_parameter_seed.ipp @@ -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,+∞)", diff --git a/src/storage/tx/ob_trans_part_ctx.cpp b/src/storage/tx/ob_trans_part_ctx.cpp index 79aa8c518e..9f88175b0a 100755 --- a/src/storage/tx/ob_trans_part_ctx.cpp +++ b/src/storage/tx/ob_trans_part_ctx.cpp @@ -5686,6 +5686,7 @@ int ObPartTransCtx::switch_to_follower_gracefully(ObIArray & 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;