Revision d8c28e692a4a7b0393977c9088914adc099a70f9 authored by sdong on 23 November 2019, 00:01:21 UTC, committed by Facebook Github Bot on 23 November 2019, 05:23:00 UTC
Summary:
Previously, options.ttl cannot be set with options.max_open_files = -1, because it makes use of creation_time field in table properties, which is not available unless max_open_files = -1. With this commit, the information will be stored in manifest and when it is available, will be used instead.

Note that, this change will break forward compatibility for release 5.1 and older.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6060

Test Plan: Extend existing test case to options.max_open_files != -1, and simulate backward compatility in one test case by forcing the value to be 0.

Differential Revision: D18631623

fbshipit-source-id: 30c232a8672de5432ce9608bb2488ecc19138830
1 parent adcf920
History
File Mode Size
.gitignore -rw-r--r-- 200 bytes
Makefile -rw-r--r-- 2.5 KB
README.md -rw-r--r-- 120 bytes
c_simple_example.c -rw-r--r-- 2.6 KB
column_families_example.cc -rw-r--r-- 1.9 KB
compact_files_example.cc -rw-r--r-- 5.7 KB
compaction_filter_example.cc -rw-r--r-- 2.9 KB
multi_processes_example.cc -rw-r--r-- 11.6 KB
optimistic_transaction_example.cc -rw-r--r-- 4.1 KB
options_file_example.cc -rw-r--r-- 4.0 KB
rocksdb_option_file_example.ini -rw-r--r-- 4.6 KB
simple_example.cc -rw-r--r-- 2.4 KB
transaction_example.cc -rw-r--r-- 4.6 KB

README.md

back to top