From e089308aa11e14eba3c7adbd245be0b20dba52d9 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Thu, 27 Oct 2022 10:24:58 +0800 Subject: [PATCH] Update mutation_log.cpp --- src/replica/mutation_log.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/replica/mutation_log.cpp b/src/replica/mutation_log.cpp index c075fed94a9..202dceffce6 100644 --- a/src/replica/mutation_log.cpp +++ b/src/replica/mutation_log.cpp @@ -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)) {