You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2023/10/11 08:54:50 UTC

[doris] branch master updated: [fix](move-memtable) handle error in LoadStreamWriter::close (#24805)

This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 73f632a4e36 [fix](move-memtable) handle error in LoadStreamWriter::close (#24805)
73f632a4e36 is described below

commit 73f632a4e36a7674eb54a97f5231427c3de9f3dc
Author: Kaijie Chen <ck...@apache.org>
AuthorDate: Wed Oct 11 16:54:42 2023 +0800

    [fix](move-memtable) handle error in LoadStreamWriter::close (#24805)
---
 be/src/runtime/load_stream_writer.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/be/src/runtime/load_stream_writer.cpp b/be/src/runtime/load_stream_writer.cpp
index 326524215e7..d0d3596a7f1 100644
--- a/be/src/runtime/load_stream_writer.cpp
+++ b/be/src/runtime/load_stream_writer.cpp
@@ -151,10 +151,10 @@ Status LoadStreamWriter::close() {
         }
     }
 
-    static_cast<void>(_rowset_builder.build_rowset());
-    static_cast<void>(_rowset_builder.submit_calc_delete_bitmap_task());
-    static_cast<void>(_rowset_builder.wait_calc_delete_bitmap());
-    static_cast<void>(_rowset_builder.commit_txn());
+    RETURN_IF_ERROR(_rowset_builder.build_rowset());
+    RETURN_IF_ERROR(_rowset_builder.submit_calc_delete_bitmap_task());
+    RETURN_IF_ERROR(_rowset_builder.wait_calc_delete_bitmap());
+    RETURN_IF_ERROR(_rowset_builder.commit_txn());
 
     return Status::OK();
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org