Gabriel39 commented on code in PR #19847:
URL: https://github.com/apache/doris/pull/19847#discussion_r1203334813


##########
be/src/pipeline/exec/exchange_sink_buffer.cpp:
##########
@@ -323,6 +331,16 @@ void ExchangeSinkBuffer::_failed(InstanceLoId id, const 
std::string& err) {
     _is_finishing = true;
     _context->cancel(PPlanFragmentCancelReason::INTERNAL_ERROR, err);
     _ended(id);
-};
+}
+
+void ExchangeSinkBuffer::_set_receiver_eof(InstanceLoId id) {
+    std::unique_lock<std::mutex> lock(*_instance_to_package_queue_mutex[id]);

Review Comment:
   Do we need to use `_instance_to_package_queue_mutex` ?



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