yiguolei commented on code in PR #61535:
URL: https://github.com/apache/doris/pull/61535#discussion_r3123016461
##########
be/src/exec/exchange/vdata_stream_sender.cpp:
##########
@@ -288,7 +288,10 @@ Status Channel::close(RuntimeState* state) {
}
BlockSerializer::BlockSerializer(ExchangeSinkLocalState* parent, bool is_local)
- : _parent(parent), _is_local(is_local),
_batch_size(parent->state()->batch_size()) {}
+ : _parent(parent),
+ _is_local(is_local),
+ _batch_size(parent->state()->batch_size()),
+ _block_max_bytes(parent->state()->preferred_block_size_bytes()) {}
Review Comment:
这个变量的名字,我看代码里,大量的都是 block_max_bytes
但是我们配置里又是preferred_block_size_bytes,为什么不用同样的名字,是有设么特殊考虑吗?
--
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]