Skip to content

Commit

Permalink
compaction: clean up runCompaction
Browse files Browse the repository at this point in the history
In this change we separate the code that deals with the "data" portion
of the compaction from the code that deals with the "metadata"
portion. These were intertwined in the old code, leading to a lot of
clutter.

We move the "inner" loop of the compaction (writing one output table)
to `compact.Runner`. We then use the tables in `compact.Result` to
create the version edit.
  • Loading branch information
RaduBerinde committed May 8, 2024
1 parent 2a4cdcc commit 4301b8f
Show file tree
Hide file tree
Showing 3 changed files with 360 additions and 346 deletions.
Loading

0 comments on commit 4301b8f

Please sign in to comment.