Revision f5148ade101ce7e8dcc3556987bd3272947fc44c authored by Andrew Kryczka on 12 September 2017, 20:12:58 UTC, committed by Facebook Github Bot on 12 September 2017, 20:26:34 UTC
Summary:
There are internal users who open BackupEngine for writing new backups only, and they don't care whether old backups can be read or not. The condition `BackupableDBOptions::max_valid_backups_to_open == 0` should be supported (previously in df74b775e6e3034714bb75b42aa8f97e9a47dd81 I made the mistake of choosing 0 as a special value to disable the limit).
Closes https://github.com/facebook/rocksdb/pull/2819

Differential Revision: D5751599

Pulled By: ajkr

fbshipit-source-id: e73ac19eb5d756d6b68601eae8e43407ee4f2752
1 parent 3c42807
History
File Mode Size
alloc_tracker.cc -rw-r--r-- 1.9 KB
hash_cuckoo_rep.cc -rw-r--r-- 24.7 KB
hash_cuckoo_rep.h -rw-r--r-- 1.6 KB
hash_linklist_rep.cc -rw-r--r-- 29.2 KB
hash_linklist_rep.h -rw-r--r-- 1.8 KB
hash_skiplist_rep.cc -rw-r--r-- 11.1 KB
hash_skiplist_rep.h -rw-r--r-- 1.4 KB
inlineskiplist.h -rw-r--r-- 31.5 KB
inlineskiplist_test.cc -rw-r--r-- 16.8 KB
memtablerep_bench.cc -rw-r--r-- 24.1 KB
skiplist.h -rw-r--r-- 15.6 KB
skiplist_test.cc -rw-r--r-- 10.2 KB
skiplistrep.cc -rw-r--r-- 8.5 KB
stl_wrappers.h -rw-r--r-- 885 bytes
vectorrep.cc -rw-r--r-- 8.9 KB
write_buffer_manager.cc -rw-r--r-- 4.7 KB
write_buffer_manager_test.cc -rw-r--r-- 5.1 KB

back to top