-
Notifications
You must be signed in to change notification settings - Fork 474
Description
Is your feature request related to a problem? Please describe.
Currently the compaction job configuration is based on a range of entries. An individual entry in the queue can vary in size based on the number files in the tablet and the number of files in the compaction job. So it is hard to reason about entires. The goal of limiting the size is to limit memory usage.
Describe the solution you'd like
Have a single configuration that is a memory upper limit for compaction job queues. For example the configuration would allow the queue to use up to 50M of memory. This would be much easier to understand and would work much better at limiting memory used by the queue. The current configuration based on a range of entries sizes (like the queue can range from 10 to 10000) entries does not control memory usage in a predictable way.