forked from cockroachdb/pebble
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compaction: fix handling of empty user key range deletes
Previously, a range deletion beginning with an empty user key could cause an infinite loop during a flush or compaction. If a compaction output was empty and the rangedel fragmenter contained the tombstone beginning with an empty user key, the compaction logic could confuse an absent limit with the rangedel fragmenter's start key and skip writing an output table. Fix cockroachdb#1022.
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters