Skip to content

Commit

Permalink
branch-3.0: [Enhancement](compaction)Optimize compaction task permit …
Browse files Browse the repository at this point in the history
…allocation #45197 (#45242)

Cherry-picked from #45197

Co-authored-by: abmdocrt <[email protected]>
  • Loading branch information
github-actions[bot] and Yukang-Lian authored Dec 11, 2024
1 parent 635aa6c commit 3384170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,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");
Expand Down

0 comments on commit 3384170

Please sign in to comment.