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

(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/5/be/src/runtime/krpc-data-stream-sender.cc
File be/src/runtime/krpc-data-stream-sender.cc:

http://gerrit.cloudera.org:8080/#/c/21579/5/be/src/runtime/krpc-data-stream-sender.cc@193
PS5, 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/5/be/src/runtime/krpc-data-stream-sender.cc@556
PS5, 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/5/be/src/runtime/krpc-data-stream-sender.cc@594
PS5, 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/5/be/src/runtime/krpc-data-stream-sender.cc@1455
PS5, 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/5/be/src/runtime/krpc-data-stream-sender.cc@1490
PS5, 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/5/be/src/runtime/krpc-data-stream-sender.cc@1542
PS5, Line 1542:     // 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/5/be/src/runtime/krpc-data-stream-sender.cc@1543
PS5, Line 1543:     // 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/5/be/src/runtime/krpc-data-stream-sender.cc@1544
PS5, Line 1544:     // 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/5/be/src/runtime/krpc-data-stream-sender.cc@1547
PS5, Line 1547:     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/5/be/src/runtime/krpc-data-stream-sender.cc@1570
PS5, Line 1570:         //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/5/be/src/runtime/krpc-data-stream-sender.cc@1578
PS5, Line 1578:     //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: 5
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: Wed, 22 Apr 2026 19:48:04 +0000
Gerrit-HasComments: Yes

Reply via email to