mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
Correct the log message in VersionEdit
Summary: When VersionEdit fails in kNewFile3, previously it logs "new-file2 entry". However, it should be "new-file3 entry." Test Plan: make
This commit is contained in:
parent
2a8e5203d8
commit
3b5fe3a1f3
|
@ -293,7 +293,7 @@ Status VersionEdit::DecodeFrom(const Slice& src) {
|
|||
new_files_.push_back(std::make_pair(level, f));
|
||||
} else {
|
||||
if (!msg) {
|
||||
msg = "new-file2 entry";
|
||||
msg = "new-file3 entry";
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue