]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Support tiering when file endpoints overlap (#10961)
authorAndrew Kryczka <andrewkr@fb.com>
Wed, 23 Nov 2022 17:20:58 +0000 (09:20 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 23 Nov 2022 17:20:58 +0000 (09:20 -0800)
commit54c2542df2fd67b22a2eb77d4cbe189b72f2b21f
treeef55035a0de610448f25710218346759d0847ab6
parent3d0d6b814051944056488cf0cdfc1313d2fc5c3e
Support tiering when file endpoints overlap (#10961)

Summary:
Enabled output to penultimate level when file endpoints overlap. This is probably only possible when range tombstones span files. Otherwise the overlapping files would all be included in the penultimate level inputs thanks to our atomic compaction unit logic.

Also, corrected `penultimate_output_range_type_`, which is a minor fix as it appears only used for logging.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10961

Test Plan: updated unit test

Reviewed By: cbi42

Differential Revision: D41370615

Pulled By: ajkr

fbshipit-source-id: 7e75ec369a3b41b8382b336446c81825a4c4f572
db/compaction/compaction.cc
db/compaction/tiered_compaction_test.cc