HappenLee commented on code in PR #22086:
URL: https://github.com/apache/doris/pull/22086#discussion_r1271446540
##########
be/src/vec/sink/vdata_stream_sender.cpp:
##########
@@ -266,7 +266,13 @@ Status Channel::close_internal() {
status = send_current_block(true);
} else {
SCOPED_CONSUME_MEM_TRACKER(_parent->_mem_tracker.get());
- status = send_block((PBlock*)nullptr, true);
+ if (is_local()) {
+ if (_recvr_is_valid()) {
Review Comment:
The receiver just judge the eof by `sender_number == 0`;
--
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]