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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]