SwayDB icon indicating copy to clipboard operation
SwayDB copied to clipboard

Refreshing Segments should run only on expired Segment blocks

Open simerplaha opened this issue 4 years ago • 0 comments

To clear expired key-values compaction invokes refresh on the Segment. Refresh only needs to occurs on Segment blocks which contain expired key-values all other blocks can be transferred directly to the new Segment without reading it into the heap.

simerplaha avatar Nov 19 '21 15:11 simerplaha