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
  • Loading branch information
dangleptr authored Mar 26, 2020
1 parent b85594e commit ccea5a5
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 ccea5a5

Please sign in to comment.