Revision faba3fb53defe4fa32f32202d459726ad49f4033 authored by Andrew Kryczka on 06 April 2018, 03:58:35 UTC, committed by Facebook Github Bot on 06 April 2018, 04:13:21 UTC
Summary: When `max_valid_backups_to_open` is set, the `BackupEngine` doesn't know about the files referenced by existing backups. This PR prevents us from deleting valid files when that option is set, in cases where we are unable to accurately determine refcount. There are warnings logged when we may miss deleting unreferenced files, and a recommendation in the header for users to periodically unset this option and run a full `GarbageCollect`. Closes https://github.com/facebook/rocksdb/pull/3518 Differential Revision: D7008331 Pulled By: ajkr fbshipit-source-id: 87907f964dc9716e229d08636a895d2fc7b72305
1 parent 6571770
File | Mode | Size |
---|---|---|
db_ttl_impl.cc | -rw-r--r-- | 10.8 KB |
db_ttl_impl.h | -rw-r--r-- | 11.5 KB |
ttl_test.cc | -rw-r--r-- | 21.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...