rocksdb/tools
Mayank Agarwal d786b25e2d Timestamp and TTL Wrapper for rocksdb
Summary:
When opened with DBTimestamp::Open call, timestamps are prepended to and stripped from the value during subsequent Put and Get calls respectively. The Timestamp is used to discard values in Get and custom compaction filter which have exceeded their TTL which is specified during Open.
Have made a temporary change to Makefile to let us test with the temporary file TestTime.cc. Have also changed the private members of db_impl.h to protected to let them be inherited by the new class DBTimestamp

Test Plan: make db_timestamp; TestTime.cc(will not check it in) shows how to use the apis currently, but I will write unit-tests shortly

Reviewers: dhruba, vamsi, haobo, sheki, heyongqiang, vkrest

Reviewed By: vamsi

CC: zshao, xjin, vkrest, MarkCallaghan

Differential Revision: https://reviews.facebook.net/D10311
2013-05-02 16:34:42 -07:00
..
shell Titile: a command line shell to read/write data from a leveldb thrift server 2012-08-23 09:41:05 -07:00
db_crashtest.py Printing the options that db_crashtest.py is run with 2013-04-10 14:03:10 -07:00
db_repl_stress.cc Do not allow Transaction Log Iterator to fall ahead when writer is writing the same file 2013-03-06 14:05:53 -08:00
db_stress.cc Timestamp and TTL Wrapper for rocksdb 2013-05-02 16:34:42 -07:00
ldb_test.py Fix ldb_test.py to hide garbage from std output 2013-03-12 21:07:07 -07:00
ldb.cc [RocksDB] Expose LDB functioanality as a library call - clients can build their own LDB binary with additional options 2013-04-11 20:21:49 -07:00
reduce_levels_test.cc [Rocksdb] codemod NULL to nullptr in tools/*.cc 2013-03-21 10:45:57 -07:00
sst_dump.cc [RocksDB] Move table.h to table/ 2013-04-22 16:07:56 -07:00