aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/log_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/db/log_reader.h')
-rw-r--r--src/leveldb/db/log_reader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leveldb/db/log_reader.h b/src/leveldb/db/log_reader.h
index 6aff791716..8389d61f8f 100644
--- a/src/leveldb/db/log_reader.h
+++ b/src/leveldb/db/log_reader.h
@@ -73,6 +73,11 @@ class Reader {
// Offset at which to start looking for the first record to return
uint64_t const initial_offset_;
+ // True if we are resynchronizing after a seek (initial_offset_ > 0). In
+ // particular, a run of kMiddleType and kLastType records can be silently
+ // skipped in this mode
+ bool resyncing_;
+
// Extend record types with the following special values
enum {
kEof = kMaxRecordType + 1,