rocksdb/include/rocksdb
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
..
arena.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
c.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
cache.h LRUCache to try to clean entries not referenced first. 2013-10-11 09:26:21 -07:00
compaction_filter.h [RocksDB] Add OnCompactionStart to CompactionFilter class 2013-10-31 13:36:43 -07:00
comparator.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
db.h Making the transaction log iterator more robust 2013-11-04 20:49:03 -08:00
env.h Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
filter_policy.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
iterator.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
ldb_tool.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
memtablerep.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
merge_operator.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
options.h Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
perf_context.h [RocksDB] Add perf_context.wal_write_time to track time spent on writing the recovery log. 2013-10-23 13:38:39 -07:00
slice_transform.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
slice.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
statistics.h Implement a compressed block cache. 2013-11-01 14:31:35 -07:00
status.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
table_stats.h Support user-defined table stats collector 2013-10-28 15:45:14 -07:00
table.h Follow-up Cleaning-up After D13521 2013-10-30 10:52:33 -07:00
transaction_log.h Making the transaction log iterator more robust 2013-11-04 20:49:03 -08:00
types.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00
universal_compaction.h Universal Compaction to Have a Size Percentage Threshold To Decide Whether to Compress 2013-10-17 13:33:39 -07:00
write_batch.h Remove obsolete namespace mappings. 2013-10-08 22:53:38 -07:00