5 #ifndef STORAGE_LEVELDB_DB_LOG_READER_H_ 6 #define STORAGE_LEVELDB_DB_LOG_READER_H_ 113 #endif // STORAGE_LEVELDB_DB_LOG_READER_H_
Definition: autocompact_test.cc:11
virtual ~Reporter()
Definition: log_reader.cc:15
Definition: log_reader.h:20
bool const checksum_
Definition: log_reader.h:63
Reader(SequentialFile *file, Reporter *reporter, bool checksum, uint64_t initial_offset)
Definition: log_reader.cc:18
Reporter *const reporter_
Definition: log_reader.h:62
void operator=(const Reader &)
uint64_t last_record_offset_
Definition: log_reader.h:69
bool ReadRecord(Slice *record, std::string *scratch)
Definition: log_reader.cc:60
bool SkipToInitialBlock()
Definition: log_reader.cc:36
uint64_t end_of_buffer_offset_
Definition: log_reader.h:71
unsigned long long uint64_t
Definition: stdint.h:22
SequentialFile *const file_
Definition: log_reader.h:61
char *const backing_store_
Definition: log_reader.h:64
def checksum(v)
Definition: base58.py:82
unsigned int ReadPhysicalRecord(Slice *result)
Definition: log_reader.cc:199
bool resyncing_
Definition: log_reader.h:79
file
Definition: linearize-hashes.py:138
bool eof_
Definition: log_reader.h:66
uint64_t const initial_offset_
Definition: log_reader.h:74
Definition: log_reader.h:83
virtual void Corruption(size_t bytes, const Status &status)=0
Slice buffer_
Definition: log_reader.h:65
Definition: log_reader.h:23
Definition: log_reader.h:89
uint64_t LastRecordOffset()
Definition: log_reader.cc:184
~Reader()
Definition: log_reader.cc:32
void ReportCorruption(uint64_t bytes, const char *reason)
Definition: log_reader.cc:188
void ReportDrop(uint64_t bytes, const Status &reason)
Definition: log_reader.cc:192
static const int kMaxRecordType
Definition: log_format.h:25