Skip to content

Commit

Permalink
Remove the LOG(FATAL) when encounting the unknown log type (vesoft-in…
Browse files Browse the repository at this point in the history
…c#1978)

(cherry picked from commit f114b21)
  • Loading branch information
dangleptr authored and jude-zhu committed Mar 26, 2020
1 parent 8221606 commit 2ebf4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvstore/Part.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ bool Part::commitLogs(std::unique_ptr<LogIterator> iter) {
break;
}
default: {
LOG(FATAL) << idStr_ << "Unknown operation: " << static_cast<uint8_t>(log[0]);
LOG(WARNING) << idStr_ << "Unknown operation: " << static_cast<int32_t>(log[0]);
}
}

Expand Down

0 comments on commit 2ebf4ef

Please sign in to comment.