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
win
README -rw-r--r-- 405 bytes
jemalloc_helper.h -rw-r--r-- 3.4 KB
likely.h -rw-r--r-- 690 bytes
malloc.h -rw-r--r-- 656 bytes
port.h -rw-r--r-- 834 bytes
port_dirent.h -rw-r--r-- 1.0 KB
port_example.h -rw-r--r-- 3.5 KB
port_posix.cc -rw-r--r-- 6.1 KB
port_posix.h -rw-r--r-- 5.8 KB
stack_trace.cc -rw-r--r-- 3.5 KB
stack_trace.h -rw-r--r-- 648 bytes
sys_time.h -rw-r--r-- 1.1 KB
util_logger.h -rw-r--r-- 823 bytes
xpress.h -rw-r--r-- 687 bytes

README

back to top