You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two things are used in a mixing way for now. In general, we should:
comapct_with_gc (and in the future, the legacy compaction function) should take a CompactionTask which deterministically describe a compaction task (i.e., the LSN range, the L0 files to be included, etc.)
the compact iteration task generates such compaction tasks and schedules them.
The text was updated successfully, but these errors were encountered:
## Problem
part of #9114, stacked PR
over #9897, partially
refactored to help with
#10031
## Summary of changes
* gc-compaction takes `above_lsn` parameter. We only compact the layers
above this LSN, and all data below the LSN are treated as if they are on
the ancestor branch.
* refactored gc-compaction to take `GcCompactJob` that describes the
rectangular range to be compacted.
* Added unit test for this case.
---------
Signed-off-by: Alex Chi Z <[email protected]>
Co-authored-by: Christian Schwarz <[email protected]>
These two things are used in a mixing way for now. In general, we should:
CompactionTask
which deterministically describe a compaction task (i.e., the LSN range, the L0 files to be included, etc.)The text was updated successfully, but these errors were encountered: