ddl: enlarge LoadSchemaDiffVersionGapThreshold (#54288)

close pingcap/tidb#54046
This commit is contained in:
GMHDBJD
2024-07-01 14:34:26 +08:00
committed by GitHub
parent c983546c52
commit 7bc446bd2d

View File

@ -106,7 +106,7 @@ var (
mdlCheckLookDuration = 50 * time.Millisecond
// LoadSchemaDiffVersionGapThreshold is the threshold for version gap to reload domain by loading schema diffs
LoadSchemaDiffVersionGapThreshold int64 = 100
LoadSchemaDiffVersionGapThreshold int64 = 10000
// NewInstancePlanCache creates a new instance level plan cache, this function is designed to avoid cycle-import.
NewInstancePlanCache func(softMemLimit, hardMemLimit int64) sessionctx.InstancePlanCache