zhannngchen commented on code in PR #12251:
URL: https://github.com/apache/doris/pull/12251#discussion_r960411696
##########
be/src/exec/tablet_sink.cpp:
##########
@@ -330,13 +332,14 @@ Status NodeChannel::add_row(BlockRow& block_row, int64_t
tablet_id) {
}
void NodeChannel::_sleep_if_memory_exceed() {
- size_t begin_us = _mem_exceeded_block_ns / 1000;
+ static size_t times = 1;
Review Comment:
Should be a member variable? it's lifecycle should be consistent with
`_mem_exceeded_block_ns`?
--
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]