From 1d2d78744eee38713bb64e618fc5cea2a891369c Mon Sep 17 00:00:00 2001 From: Charles0429 Date: Wed, 30 Nov 2022 07:08:54 +0000 Subject: [PATCH] fix ddl redo log handle reset --- src/storage/ddl/ob_ddl_redo_log_writer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/storage/ddl/ob_ddl_redo_log_writer.cpp b/src/storage/ddl/ob_ddl_redo_log_writer.cpp index cc22dd373..130d85a07 100644 --- a/src/storage/ddl/ob_ddl_redo_log_writer.cpp +++ b/src/storage/ddl/ob_ddl_redo_log_writer.cpp @@ -1048,9 +1048,8 @@ int ObDDLSSTableRedoWriter::wait_redo_log_finish(const ObDDLMacroBlockRedoInfo & LOG_WARN("fail to wait io finish", K(ret)); } else if (OB_FAIL(ddl_redo_handle_.cb_->get_ret_code())) { LOG_WARN("ddl redo callback executed failed", K(ret)); - } else { - ddl_redo_handle_.reset(); } + ddl_redo_handle_.reset(); return ret; }