rocksdb/utilities
Mayank Agarwal 61f1baaedf Introducing timeranged scan, timeranged dump in ldb. Also the ability to count in time-batches during Dump
Summary:
Scan and Dump commands in ldb use iterator. We need to also print timestamp for ttl databases for debugging. For this I create a TtlIterator class pointer in these functions and assign it the value of Iterator pointer which actually points to t TtlIterator object, and access the new function ValueWithTS which can return TS also. Buckets feature for dump command: gives a count of different key-values in the specified time-range distributed across the time-range partitioned according to bucket-size. start_time and end_time are specified in unixtimestamp and bucket in seconds on the user-commandline
Have commented out 3 ines from ldb_test.py so that the test does not break right now. It breaks because timestamp is also printed now and I have to look at wildcards in python to compare properly.

Test Plan: python tools/ldb_test.py

Reviewers: vamsi, dhruba, haobo, sheki

Reviewed By: vamsi

CC: leveldb

Differential Revision: https://reviews.facebook.net/D11403
2013-06-19 18:45:13 -07:00
..
merge_operators Minor tweaks to StringAppend MergeOperator. 2013-06-14 16:44:39 -07:00
redis Completed the implementation and test cases for Redis API. 2013-06-11 11:19:49 -07:00
ttl Introducing timeranged scan, timeranged dump in ldb. Also the ability to count in time-batches during Dump 2013-06-19 18:45:13 -07:00
.DS_Store Implemented StringAppendOperator and unit tests. 2013-05-13 15:09:42 -07:00
merge_operators.h [Rocksdb] Support Merge operation in rocksdb 2013-05-03 16:59:02 -07:00