]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix merging range tombstone covering put during flush/compaction (#5406)
authorAndrew Kryczka <andrew.kryczka2@gmail.com>
Tue, 4 Jun 2019 17:17:24 +0000 (10:17 -0700)
committerIgor Fedotov <ifedotov@suse.com>
Fri, 8 Nov 2019 12:02:20 +0000 (15:02 +0300)
commitad67a03c319dbc42d4cdb4f981d061bde70537a5
tree5da97a04ddfc635303a58cb12808a28b6870c3ee
parente3169e3ea8762d2f34880742106858a23c8dc8b7
Fix merging range tombstone covering put during flush/compaction (#5406)

Summary:
Flush/compaction use `MergeUntil` which has a special code path to
handle a merge ending with a non-`Merge` point key. In particular if
that key is a `Put` we forgot to check whether it is covered by a range
tombstone. If it is covered then we must not include it in the following call
to `TimedFullMerge`.

Fixes #5392.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5406

Differential Revision: D15611144

Pulled By: sagar0

fbshipit-source-id: ba6a7863ca2d043f591de78fd0c4f4561f0c500e
HISTORY.md