rocksdb/include/leveldb
Kai Liu b63aafce42 Allow the logs to be purged by TTL.
Summary:
* Add a SplitByTTLLogger to enable this feature. In this diff I implemented generalized AutoSplitLoggerBase class to simplify the
development of such classes.
* Refactor the existing AutoSplitLogger and fix several bugs.

Test Plan:
* Added a unit tests for different types of "auto splitable" loggers individually.
* Tested the composited logger which allows the log files to be splitted by both TTL and log size.

Reviewers: heyongqiang, dhruba

Reviewed By: heyongqiang

CC: zshao, leveldb

Differential Revision: https://reviews.facebook.net/D8037
2013-02-04 19:42:40 -08:00
..
c.h Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
cache.h Fix a number of object lifetime/ownership issues 2013-01-23 16:54:11 -08:00
comparator.h A number of fixes: 2011-10-31 17:22:06 +00:00
db.h Fix poor error on num_levels mismatch and few other minor improvements 2013-01-25 15:37:26 -08:00
env.h Fixed cache key for block cache 2013-01-31 15:20:24 -08:00
filter_policy.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
iterator.h A number of fixes: 2011-10-31 17:22:06 +00:00
options.h Allow the logs to be purged by TTL. 2013-02-04 19:42:40 -08:00
slice.h manifest_dump: Add --hex=1 option 2012-12-16 08:58:28 -08:00
statistics.h Add counters to count gets and writes 2013-01-17 12:27:56 -08:00
status.h Added an API in rocksdb for checking for "invalid argument" and "not supported" for leveldb::Status 2013-01-16 14:30:45 -08:00
table_builder.h Fix all the lint errors. 2012-11-28 17:18:41 -08:00
table.h Fixed cache key for block cache 2013-01-31 15:20:24 -08:00
transaction_log_iterator.h GetSequence API in write batch. 2012-12-12 22:21:10 -08:00
types.h GetUpdatesSince API to enable replication. 2012-12-07 11:42:13 -08:00
write_batch.h Enhancements to rocksdb for better support for replication. 2012-12-17 11:40:19 -08:00