This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new e5bed1e6e9 [fix](memtable) change memtable flush error code (#21542)
e5bed1e6e9 is described below
commit e5bed1e6e9772558d9ba4327bb4b3efb1c51b393
Author: HHoflittlefish777 <[email protected]>
AuthorDate: Thu Jul 6 15:50:23 2023 +0800
[fix](memtable) change memtable flush error code (#21542)
---
be/src/olap/memtable_flush_executor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/olap/memtable_flush_executor.cpp
b/be/src/olap/memtable_flush_executor.cpp
index 48e0836a55..82ec2a7b97 100644
--- a/be/src/olap/memtable_flush_executor.cpp
+++ b/be/src/olap/memtable_flush_executor.cpp
@@ -94,7 +94,7 @@ void FlushToken::_flush_memtable(MemTable* memtable, int64_t
submit_task_time) {
if (!s) {
LOG(WARNING) << "Flush memtable failed with res = " << s;
// If s is not ok, ignore the code, just use other code is ok
- _flush_status.store(ErrorCode::INTERNAL_ERROR);
+ _flush_status.store(s.code());
}
if (_flush_status.load() != OK) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]