branch-2.1: [Enhancement](compaction)Optimize compaction task permit allocation #45197 (#45243)

Cherry-picked from #45197

Co-authored-by: abmdocrt <lianyukang@selectdb.com>
This commit is contained in:
github-actions[bot]
2024-12-11 14:35:07 +08:00
committed by GitHub
parent f54502960c
commit 44fa86040f

View File

@ -463,7 +463,7 @@ DEFINE_mInt32(cumulative_compaction_max_deltas_factor, "10");
DEFINE_mInt32(multi_get_max_threads, "10");
// The upper limit of "permits" held by all compaction tasks. This config can be set to limit memory consumption for compaction.
DEFINE_mInt64(total_permits_for_compaction_score, "10000");
DEFINE_mInt64(total_permits_for_compaction_score, "1000000");
// sleep interval in ms after generated compaction tasks
DEFINE_mInt32(generate_compaction_tasks_interval_ms, "100");