Skip to content

Commit

Permalink
db: consider range key deletion hints
Browse files Browse the repository at this point in the history
Removes the TODO that ignores range key deletion hints.

This will squash into the second commit.
  • Loading branch information
nicktrav committed Jun 15, 2022
1 parent 8832f2c commit 68a8112
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions compaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -2065,12 +2065,6 @@ func checkDeleteCompactionHints(
if m.Compacting || !h.canDelete(cmp, m, snapshots) || files[m] {
continue
}
if m.HasRangeKeys {
// TODO(bilal): Remove this conditional when deletion hints work well
// with sstables containing range keys.
continue
}

if files == nil {
// Construct files lazily, assuming most calls will not
// produce delete-only compactions.
Expand Down

0 comments on commit 68a8112

Please sign in to comment.