rocksdb/utilities/ttl
jonasf 4decff6fa8 Add possibility to change ttl on open DB
Summary:
We have seen cases where it could be good to change TTL on already open DB.
Change ttl in TtlCompactionFilterFactory on open db.
Next time a filter is created, it will filter accroding to the set TTL.

Is this something that could be useful for others?
Any downsides?
Closes https://github.com/facebook/rocksdb/pull/3292

Differential Revision: D6731993

Pulled By: miasantreble

fbshipit-source-id: 73b94d69237b11e8730734389052429d621a6b1e
2018-01-18 10:42:15 -08:00
..
db_ttl_impl.cc Add possibility to change ttl on open DB 2018-01-18 10:42:15 -08:00
db_ttl_impl.h Add possibility to change ttl on open DB 2018-01-18 10:42:15 -08:00
ttl_test.cc Add possibility to change ttl on open DB 2018-01-18 10:42:15 -08:00