add a new config, which can force malloc even if tenant not exist in observer

This commit is contained in:
tushicheng
2023-09-13 03:10:27 +00:00
committed by ob-robot
parent 914713a8d9
commit 1910d3de2b
8 changed files with 37 additions and 37 deletions

View File

@ -1589,6 +1589,9 @@ DEF_BOOL(_enable_system_tenant_memory_limit, OB_CLUSTER_PARAMETER, "True",
"specifies whether allowed to limit the memory of tenant 500",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
#endif
DEF_BOOL(_force_malloc_for_absent_tenant, OB_CLUSTER_PARAMETER, "False",
"force malloc even if tenant does not exist in observer",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
ERRSIM_DEF_TIME(errsim_transfer_backfill_error_time, OB_TENANT_PARAMETER, "0", "[0s,1h]",
"the duration of the error happened to transfer backfill. "
"Range: [0s, 1h] in duration",