https://github.com/tonbo-io/tonbo/blob/main/src/compaction/mod.rs#L64
the write lock in Compactor::check_then_compaction waits for the data to be completely flushed to the disk before removing the immutables, causing the write lock to be held for a long time. A lock-free queue should be used to solve this problem.
Feature Request
https://github.com/tonbo-io/tonbo/blob/main/src/compaction/mod.rs#L64 the write lock in
Compactor::check_then_compaction
waits for the data to be completely flushed to the disk before removing theimmutables
, causing the write lock to be held for a long time. A lock-free queue should be used to solve this problem.