put error when call Flush (#2097)

Signed-off-by: beautifulpython <2426009680@qq.com>
This commit is contained in:
czp 2020-04-25 16:13:32 +08:00 committed by GitHub
parent 6fe2cf1580
commit b454f462c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}