[CP] [4377] add resourcer defensive after 4377

This commit is contained in:
Handora
2024-02-09 10:14:08 +00:00
committed by ob-robot
parent c46b81b2db
commit 2eeccaa383
12 changed files with 156 additions and 4 deletions

View File

@ -255,6 +255,11 @@ DEF_INT_WITH_CHECKER(_enable_defensive_check, OB_CLUSTER_PARAMETER, "1",
"1 means normal defensive check is enabled, "
"2 means more strict defensive check is enabled, such as check partition id validity",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(_delay_resource_recycle_after_correctness_issue, OB_CLUSTER_PARAMETER, "False",
"whether hinder the recycling of the log resources and the sstable resources under correctness issues",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
//
DEF_BOOL(_sql_insert_multi_values_split_opt, OB_CLUSTER_PARAMETER, "True",
"True means that the split + batch optimization for inserting multiple rows of the insert values ​​statement can be done",