rocksdb/utilities/ttl
Haobo Xu 4ca3c67bd3 [RocksDB] Cleanup compaction filter to use a class interface, instead of function pointer and additional context pointer.
Summary:
This diff replaces compaction_filter_args and CompactionFilter with a single compaction_filter parameter. It gives CompactionFilter better encapsulation and a similar look to Comparator and MergeOpertor, which improves consistency of the overall interface.
The change is not backward compatible. Nevertheless, the two references in fbcode are not in production yet.

Test Plan: make check

Reviewers: dhruba

Reviewed By: dhruba

CC: leveldb, zshao

Differential Revision: https://reviews.facebook.net/D10773
2013-05-13 14:06:10 -07:00
..
db_ttl.cc [RocksDB] Cleanup compaction filter to use a class interface, instead of function pointer and additional context pointer. 2013-05-13 14:06:10 -07:00
db_ttl.h [RocksDB] Cleanup compaction filter to use a class interface, instead of function pointer and additional context pointer. 2013-05-13 14:06:10 -07:00
ttl_test.cc Bring read_only into ttl 2013-05-10 16:13:26 -07:00