yiguolei commented on code in PR #31733:
URL: https://github.com/apache/doris/pull/31733#discussion_r1511366486
##########
be/src/vec/runtime/vdata_stream_recvr.h:
##########
@@ -296,11 +296,15 @@ class VDataStreamRecvr::PipSenderQueue : public
SenderQueue {
Status get_batch(Block* block, bool* eos) override {
std::lock_guard<std::mutex> l(_lock); // protect _block_queue
- DCHECK(_is_cancelled || !_block_queue.empty() ||
_num_remaining_senders == 0)
Review Comment:
这么改比dcheck的好处是啥啊
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]