Summary: add the `min_file_size` parameter to CompactOnDeletionCollector. A file must be at least this size for it to qualify for DTC. This is useful when a user wants to specific a min file size requirement that is larger than the size constraint imposed by the sliding window's `deletion_trigger` requirement. Added some comment explaining that the file_size provided to table property collector only includes data blocks and may not be up-to-date. This PR also updates DTC to consider SingleDelete and DeletionWithTimestamp as tombstones. Pull Request resolved: https://github.com/facebook/rocksdb/pull/13707 Test Plan: - new unit test for when min_file_size is specified. - existing unit test for when min_file_size is not specified. Reviewed By: hx235, pdillinger Differential Revision: D76837231 Pulled By: cbi42 fbshipit-source-id: 0782144e75aef9961bf03da2a2c4b3c613ce5db3 |
||
---|---|---|
.. | ||
compact_for_tiering_collector.cc | ||
compact_for_tiering_collector.h | ||
compact_for_tiering_collector_test.cc | ||
compact_on_deletion_collector.cc | ||
compact_on_deletion_collector.h | ||
compact_on_deletion_collector_test.cc |