]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix wrong smallest key of delete range tombstones
authorHuachao Huang <huachao.huang@gmail.com>
Wed, 30 Aug 2017 01:27:21 +0000 (18:27 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 30 Aug 2017 01:41:35 +0000 (18:41 -0700)
commit0980dc6c9abe263531cb313af56c5018b8f4b331
treef84a17036c009880ab89507461397b0340974ba5
parentb767972313677971bd96b20a72488ec9f2142747
Fix wrong smallest key of delete range tombstones

Summary:
Since tombstones are not stored in order, we may get a wrong smallest key if we only consider the first added tombstone.
Check https://github.com/facebook/rocksdb/issues/2752 for more details.
Closes https://github.com/facebook/rocksdb/pull/2799

Differential Revision: D5728217

Pulled By: ajkr

fbshipit-source-id: 4a53edb0ca80d2a9fcf10749e52d47d57d6417d3
db/db_range_del_test.cc
db/range_del_aggregator.cc