HappenLee commented on code in PR #19331:
URL: https://github.com/apache/doris/pull/19331#discussion_r1186659288


##########
be/src/vec/runtime/vdata_stream_recvr.cpp:
##########
@@ -83,19 +82,20 @@ Status 
VDataStreamRecvr::SenderQueue::_inner_get_batch(Block* block, bool* eos)
         return Status::Cancelled("Cancelled");
     }
 
-    if (_block_queue.empty()) {
+    std::unique_lock<std::mutex> l(_lock);

Review Comment:
   should not only add a mutex here. please review the whloe logic to find 
problem



-- 
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