Skip to content

Commit

Permalink
Update mutation_log.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Oct 27, 2022
1 parent 6d4fe80 commit e089308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/replica/mutation_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,8 @@ error_code mutation_log::reset_from(const std::string &dir,
if (!utils::filesystem::rename_path(temp_dir, _dir)) {
// rollback failed means old log files are not be recovered, it may be lost if only
// LOG_ERROR, dassert for manual resolve it
CHECK(false, "rollback {} to {} failed", temp_dir, _dir);
// TODO(yingchun): should be enabled this CHECK later
// CHECK(false, "rollback {} to {} failed", temp_dir, _dir);
}
} else {
if (!dsn::utils::filesystem::remove_path(temp_dir)) {
Expand Down

0 comments on commit e089308

Please sign in to comment.