AutoMQ/automq

[Enhancement] Start next compaction in advance

SCNieh opened this issue · 0 comments

The total number of stream set objects to be compacted in a single compaction task is limited because having too many data blocks to be read into the heap memory can be problematic. However, it is possible to start the next compaction task ahead of schedule if the previous task is completed within the task interval, and there are stream set objects remained to be compacted