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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9f52f4f  fix stream load error msg missing (#6050)
9f52f4f is described below

commit 9f52f4f9e50b9a0be4dcbdd91e17921605bdd1c8
Author: weizuo93 <[email protected]>
AuthorDate: Fri Jun 18 09:21:12 2021 +0800

    fix stream load error msg missing (#6050)
    
    Co-authored-by: weizuo <[email protected]>
---
 be/src/exec/tablet_sink.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/exec/tablet_sink.cpp b/be/src/exec/tablet_sink.cpp
index 991b7ed..056b6dc 100644
--- a/be/src/exec/tablet_sink.cpp
+++ b/be/src/exec/tablet_sink.cpp
@@ -127,7 +127,6 @@ void NodeChannel::open() {
 }
 
 void NodeChannel::_cancel_with_msg(const std::string& msg) {
-    _cancelled = true;
     LOG(WARNING) << msg;
     {
         std::lock_guard<SpinLock> l(_cancel_msg_lock);
@@ -135,6 +134,7 @@ void NodeChannel::_cancel_with_msg(const std::string& msg) {
             _cancel_msg = msg;
         }
     }
+    _cancelled = true;
 }
 
 Status NodeChannel::open_wait() {

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to