rocksdb/utilities/ttl
Mayank Agarwal f837f5b1c9 Making the transaction log iterator more robust
Summary:
strict essentially means that we MUST find the startsequence. Thus we should return if starteSequence is not found in the first file in case strict is set. This will take care of ending the iterator in case of permanent gaps due to corruptions in the log files
Also created NextImpl function that will have internal variable to distinguish whether Next is being called from StartSequence or by application.
Set NotFoudn::gaps status to give an indication of gaps happeneing.
Polished the inline documentation at various places

Test Plan:
* db_repl_stress test
* db_test relating to transaction log iterator
* fbcode/wormhole/rocksdb/rocks_log_iterator
* sigma production machine sigmafio032.prn1

Reviewers: dhruba

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13689
2013-11-04 20:49:03 -08:00
..
db_ttl.cc Making the transaction log iterator more robust 2013-11-04 20:49:03 -08:00
db_ttl.h Making the transaction log iterator more robust 2013-11-04 20:49:03 -08:00
ttl_test.cc [RocksDB] Add OnCompactionStart to CompactionFilter class 2013-10-31 13:36:43 -07:00