]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Set correct temperature for range tombstone only file in penultimate level (#10972)
authorChangyu Bi <changyubi@meta.com>
Tue, 22 Nov 2022 01:08:50 +0000 (17:08 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 22 Nov 2022 01:08:50 +0000 (17:08 -0800)
commit6c5ec920708ae8dc11c7a6c76a0beaeb67f144f3
treebe0c29317f92b70342e19ab9356cb94082ae5862
parent3ff6da6bd5bd3c3f41aa18320e84207236f8b40f
Set correct temperature for range tombstone only file in penultimate level (#10972)

Summary:
before this PR, if there is a range tombstone-only file generated in penultimate level, it is marked the `last_level_temperature`. This PR fixes this issue.

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

Test Plan: added unit test for this scenario.

Reviewed By: ajkr

Differential Revision: D41449215

Pulled By: cbi42

fbshipit-source-id: 1e06b5ae3bc0183db2991a45965a9807a7e8be0c
db/compaction/subcompaction_state.h
db/compaction/tiered_compaction_test.cc