From 7e52815fb665631e14b8e57ca7720fcb56cc0b9a Mon Sep 17 00:00:00 2001 From: lwglgy <1486111482@qq.com> Date: Sat, 25 Apr 2020 13:24:24 +0800 Subject: [PATCH] DBImpl.cpp::ExecWalRecord need to process error status in case wal::MXLogType::Entity (#2083) Signed-off-by: lwglgy <1486111482@qq.com> --- core/src/db/DBImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/db/DBImpl.cpp b/core/src/db/DBImpl.cpp index 01dec48642..cddf35b868 100644 --- a/core/src/db/DBImpl.cpp +++ b/core/src/db/DBImpl.cpp @@ -2284,6 +2284,7 @@ DBImpl::ExecWalRecord(const wal::MXLogRecord& record) { std::string target_collection_name; status = GetPartitionByTag(record.collection_id, record.partition_tag, target_collection_name); if (!status.ok()) { + LOG_WAL_ERROR_ << LogOut("[%s][%ld] ", "insert", 0) << "Get partition fail: " << status.message(); return status; }