• A
    Add DB property for SST files kept from deletion (#4618) · fffac43c
    Andrew Kryczka 提交于
    Summary:
    This property can help debug why SST files aren't being deleted. Previously we only had the property "rocksdb.is-file-deletions-enabled". However, even when that returned true, obsolete SSTs may still not be deleted due to the coarse-grained mechanism we use to prevent newly created SSTs from being accidentally deleted. That coarse-grained mechanism uses a lower bound file number for SSTs that should not be deleted, and this property exposes that lower bound.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/4618
    
    Differential Revision: D12898179
    
    Pulled By: ajkr
    
    fbshipit-source-id: fe68acc041ddbcc9276bbd48976524d95aafc776
    fffac43c
db_properties_test.cc 62.8 KB