Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression test for empty dedicated range deletion file
Summary: Issue: facebook#2478 Fix: facebook#2503 The bug happened when all of these conditions were satisfied: - A subcompaction generates no keys - `RangeDelAggregator::ShouldAddTombstones()` returns true because there's at least one non-obsoleted range deletion in its map - None of the non-obsolete tombstones overlap with the subcompaction key-range Under those conditions, we were creating a dedicated file for range deletions which was left empty, thus causing an error in VersionEdit. I verified this test case fails before the facebook#2503 fix and passes after. Closes facebook#2521 Differential Revision: D5352568 Pulled By: ajkr fbshipit-source-id: f619cae39984ce9bb9b7a4e7a9ac0f2bb2ce43e9
- Loading branch information