From b454f462c1bfc0be8a4ecb37b9526f578ed86f6c Mon Sep 17 00:00:00 2001 From: czp <2426009680@qq.com> Date: Sat, 25 Apr 2020 16:13:32 +0800 Subject: [PATCH] put error when call Flush (#2097) Signed-off-by: beautifulpython <2426009680@qq.com> --- core/src/db/insert/MemManagerImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/db/insert/MemManagerImpl.cpp b/core/src/db/insert/MemManagerImpl.cpp index 5de84bf7b..9de533b11 100644 --- a/core/src/db/insert/MemManagerImpl.cpp +++ b/core/src/db/insert/MemManagerImpl.cpp @@ -97,6 +97,7 @@ MemManagerImpl::InsertEntities(const std::string& table_id, int64_t length, cons << "Insert buffer size exceeds limit. Performing force flush"; auto status = Flush(flushed_tables, false); if (!status.ok()) { + LOG_ENGINE_DEBUG_ << LogOut("[%s][%ld] ", "insert", 0) << "Flush fail: " << status.message(); return status; } } -- GitLab