Add binlog debug.

GitOrigin-RevId: 29a11dfcdc596a297f2add2a208feb57b20a06f8
This commit is contained in:
levlam 2018-01-29 12:33:35 +03:00
parent 816b02e8c6
commit 3f058aff60

View File

@ -489,7 +489,7 @@ Status Binlog::load_binlog(const Callback &callback, const Callback &debug_callb
fd_.truncate_to_current_position(offset).ensure();
db_key_used_ = false; // force reindex
}
CHECK(IGNORE_ERASE_HACK || fd_size_ == offset);
CHECK(IGNORE_ERASE_HACK || fd_size_ == offset) << fd_size << " " << fd_size_ << " " << offset;
binlog_reader_ptr_ = nullptr;
state_ = State::Run;