Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21579 )
Change subject: POC: Add queuing to broadcast data sender ...................................................................... Patch Set 6: (11 comments) gerrit-auto-critic failed. You can reproduce it locally using command: python3 bin/jenkins/critique-gerrit-review.py --dryrun To run it, you might need a virtual env with Python3's venv installed. http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc File be/src/runtime/krpc-data-stream-sender.cc: http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@193 PS6, Line 193: Status TransmitData(std::unique_ptr<OutboundRowBatch>* outbound_batch, bool swap_batch, bool* channel_closed=nullptr); line too long (120 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@556 PS6, Line 556: DCHECK(next_batch == nullptr || !eos); // RpcFinished never sets eos on a non-null return line too long (91 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@594 PS6, Line 594: // No more work for this channel; notify Teardown() that the queue is no longer in use. line too long (91 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1455 PS6, Line 1455: free_batches_.emplace_back(new OutboundRowBatch(*parent->char_mem_tracker_allocator_)); line too long (91 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1490 PS6, Line 1490: //LOG(INFO) << "Add blocking free_batches_" << free_batches_.size() << " queue " << queue_.size(); line too long (100 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1543 PS6, Line 1543: // Detect the case when there is another batch in the queue, but it is processed by all line too long (91 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1544 PS6, Line 1544: // open channels. As this channel won't processed it, it can be removed from the queue. line too long (91 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1545 PS6, Line 1545: // TODO: this only works with queue size of 2, will have to come up with something better line too long (93 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1548 PS6, Line 1548: if (removed_batch && queue_.size() == 1 && channels_.size() == closed_channel_count_ + free_channels_.size()) { line too long (115 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1571 PS6, Line 1571: //LOG(INFO) << "RpcFinished, found in queue free batches:" << free_batches_.size() << " queue " << queue_.size(); line too long (122 > 90) http://gerrit.cloudera.org:8080/#/c/21579/6/be/src/runtime/krpc-data-stream-sender.cc@1579 PS6, Line 1579: //LOG(INFO) << "RpcFinished,. wait for addblocked free batches:" << free_batches_.size() << " queue " << queue_.size(); line too long (123 > 90) -- To view, visit http://gerrit.cloudera.org:8080/21579 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ibe3d01fada31f1b48de6c1403e7d2955114d8078 Gerrit-Change-Number: 21579 Gerrit-PatchSet: 6 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Thu, 23 Apr 2026 10:13:11 +0000 Gerrit-HasComments: Yes
