Skip to content

db: refactor/cleanup compaction iterator #3082

@jbowens

Description

@jbowens
  • Remove the compaction trailer optimization [1]. It's not particularly important in the context of a compaction and we have very subtle invariants involved.
  • Explicitly enumerate all key kinds db: extend compaction iterator comments, tests #3081 (review)
  • Use the keyspan.InterleavingIter to interleave range deletions at the maximal sequence number. This will simplify the logic considerably and allow us to eliminate the sameStripeNonSkippable case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions