liaoxin01 commented on code in PR #38003:
URL: https://github.com/apache/doris/pull/38003#discussion_r1704002700

##########
be/src/vec/sink/writer/vtablet_writer_v2.cpp:
##########
@@ -568,23 +594,39 @@ Status VTabletWriterV2::close(Status exec_status) {
 
         // send CLOSE_LOAD on all non-incremental streams if this is the last 
sink
         if (is_last_sink) {
-            RETURN_IF_ERROR(_load_stream_map->close_load(false));
+            auto st = _load_stream_map->close_load(false);
+            if (!st.ok()) {

Review Comment:
   We should handle the error here. The failure of downstream nodes should not 
be visible to VtabletWriter.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to