Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Enhancement](compaction)Optimize compaction task permit allocation (#…
…45197) The current implementation of compaction task submission reserves permits before task execution, which can lead to inefficient resource utilization. Tasks waiting in the thread pool queue may hold permits, potentially blocking other tasks from being executed. ## Solution Change total_permits_for_compaction_score to 1,000,000, which will effectively remove the limit on total permits. The original purpose of total permits was to control the memory of compaction tasks, but currently, memory is controlled by individual compaction tasks, so total permits are no longer serving any purpose. If no memory issues arise in the next two versions after making this change, we will remove the permits mechanism.
- Loading branch information