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

yiguolei 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 e54eea85914 [fix](recvr) catch exception of transmit_block (#39881)
e54eea85914 is described below

commit e54eea85914f6520eb9ae7910fbcd12b880d977c
Author: TengJianPing <18241664+jackte...@users.noreply.github.com>
AuthorDate: Sun Aug 25 18:34:26 2024 +0800

    [fix](recvr) catch exception of transmit_block (#39881)
    
    ## Proposed changes
    
    Issue Number: close #xxx
    
    Receiver side of `transmit_block` may throw exception under some
    circumstances, catch exception to avoid BE coredump.
---
 be/src/vec/runtime/vdata_stream_recvr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/runtime/vdata_stream_recvr.cpp 
b/be/src/vec/runtime/vdata_stream_recvr.cpp
index 1994a40da3d..5cbf42ea4e2 100644
--- a/be/src/vec/runtime/vdata_stream_recvr.cpp
+++ b/be/src/vec/runtime/vdata_stream_recvr.cpp
@@ -156,7 +156,7 @@ Status VDataStreamRecvr::SenderQueue::add_block(const 
PBlock& pblock, int be_num
     {
         SCOPED_RAW_TIMER(&deserialize_time);
         block = Block::create_unique();
-        RETURN_IF_ERROR(block->deserialize(pblock));
+        RETURN_IF_ERROR_OR_CATCH_EXCEPTION(block->deserialize(pblock));
     }
 
     const auto rows = block->rows();


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

Reply via email to