-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rpc test] #43890
[rpc test] #43890
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -211,8 +214,6 @@ Status ExchangeSinkBuffer::add_block(BroadcastTransmitInfo&& request) { | |||
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_send_rpc' has cognitive complexity of 70 (threshold 50) [readability-function-cognitive-complexity]
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) {
^
Additional context
be/src/pipeline/exec/exchange_sink_buffer.cpp:220: +1, including nesting penalty of 0, nesting level increased to 1
if (_is_finishing) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:225: +1, including nesting penalty of 0, nesting level increased to 1
if (!q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:233: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:233: +1
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:236: +2, including nesting penalty of 1, nesting level increased to 2
if (!request.exec_status.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:242: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:245: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:248: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:257: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:262: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:273: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:275: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:279: +1, nesting level increased to 3
} else if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:284: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:295: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:296: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:630: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:296: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:632: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:299: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:304: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:311: +2, including nesting penalty of 1, nesting level increased to 2
if (_total_queue_size <= _queue_capacity) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:316: +1, nesting level increased to 1
} else if (!broadcast_q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:324: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:324: +1
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:330: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:333: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:336: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:345: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:350: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:361: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:363: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:367: +1, nesting level increased to 3
} else if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:372: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:383: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:384: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:630: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:384: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:632: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:387: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:392: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:396: +1, nesting level increased to 1
} else {
^
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -211,8 +207,6 @@ Status ExchangeSinkBuffer::add_block(BroadcastTransmitInfo&& request) { | |||
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_send_rpc' has cognitive complexity of 70 (threshold 50) [readability-function-cognitive-complexity]
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) {
^
Additional context
be/src/pipeline/exec/exchange_sink_buffer.cpp:213: +1, including nesting penalty of 0, nesting level increased to 1
if (_is_finishing) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:218: +1, including nesting penalty of 0, nesting level increased to 1
if (!q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:226: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:226: +1
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:229: +2, including nesting penalty of 1, nesting level increased to 2
if (!request.exec_status.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:235: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:238: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:241: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:250: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:255: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:266: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:268: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:272: +1, nesting level increased to 3
} else if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:277: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:288: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:289: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:630: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:289: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:632: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:292: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:297: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:304: +2, including nesting penalty of 1, nesting level increased to 2
if (_total_queue_size <= _queue_capacity) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:309: +1, nesting level increased to 1
} else if (!broadcast_q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:317: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:317: +1
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:323: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:326: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:329: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:338: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:343: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:354: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:356: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:360: +1, nesting level increased to 3
} else if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:365: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:376: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:377: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:630: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:377: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:632: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:380: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:385: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:389: +1, nesting level increased to 1
} else {
^
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -211,8 +207,6 @@ Status ExchangeSinkBuffer::add_block(BroadcastTransmitInfo&& request) { | |||
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_send_rpc' has cognitive complexity of 74 (threshold 50) [readability-function-cognitive-complexity]
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) {
^
Additional context
be/src/pipeline/exec/exchange_sink_buffer.cpp:213: +1, including nesting penalty of 0, nesting level increased to 1
if (_is_finishing) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:218: +1, including nesting penalty of 0, nesting level increased to 1
if (!q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:226: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:226: +1
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:229: +2, including nesting penalty of 1, nesting level increased to 2
if (!request.exec_status.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:235: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:238: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:241: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:250: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:255: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:266: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:267: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:272: +3, including nesting penalty of 2, nesting level increased to 3
if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:277: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:288: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:289: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:631: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:289: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:633: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:292: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:297: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:304: +2, including nesting penalty of 1, nesting level increased to 2
if (_total_queue_size <= _queue_capacity) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:309: +1, nesting level increased to 1
} else if (!broadcast_q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:317: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:317: +1
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:323: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:326: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:329: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:338: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:343: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:354: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:355: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:360: +3, including nesting penalty of 2, nesting level increased to 3
if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:365: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:376: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:377: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:631: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:377: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:633: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:380: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:385: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:389: +1, nesting level increased to 1
} else {
^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -211,8 +207,6 @@ Status ExchangeSinkBuffer::add_block(BroadcastTransmitInfo&& request) { | |||
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_send_rpc' has cognitive complexity of 74 (threshold 50) [readability-function-cognitive-complexity]
Status ExchangeSinkBuffer::_send_rpc(InstanceLoId id) {
^
Additional context
be/src/pipeline/exec/exchange_sink_buffer.cpp:213: +1, including nesting penalty of 0, nesting level increased to 1
if (_is_finishing) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:218: +1, including nesting penalty of 0, nesting level increased to 1
if (!q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:226: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:226: +1
if (request.block && !request.block->column_metas().empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:229: +2, including nesting penalty of 1, nesting level increased to 2
if (!request.exec_status.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:235: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:238: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:241: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:250: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:255: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:266: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:267: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:272: +3, including nesting penalty of 2, nesting level increased to 3
if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:277: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:288: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:289: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:632: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:289: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:634: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:292: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:297: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:304: +2, including nesting penalty of 1, nesting level increased to 2
if (_total_queue_size <= _queue_capacity) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:309: +1, nesting level increased to 1
} else if (!broadcast_q.empty()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:317: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:317: +1
if (request.block_holder->get_block() &&
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:323: +2, including nesting penalty of 1, nesting level increased to 2
if (config::execution_ignore_eovercrowded) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:326: nesting level increased to 2
send_callback->addFailedHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:329: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:338: nesting level increased to 2
send_callback->addSuccessHandler([&, weak_task_ctx = weak_task_exec_ctx()](
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:343: +3, including nesting penalty of 2, nesting level increased to 3
if (task_lock == nullptr) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:354: +3, including nesting penalty of 2, nesting level increased to 3
if (s.is<ErrorCode::END_OF_FILE>()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:355: +1, nesting level increased to 3
} else if (!s.ok()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:360: +3, including nesting penalty of 2, nesting level increased to 3
if (eos) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:365: +3, including nesting penalty of 2, nesting level increased to 3
if (!s) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:376: +2, including nesting penalty of 1, nesting level increased to 2
if (enable_http_send_block(*brpc_request)) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:377: +3, including nesting penalty of 2, nesting level increased to 3
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:632: expanded from macro 'RETURN_IF_ERROR'
do { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:377: +4, including nesting penalty of 3, nesting level increased to 4
RETURN_IF_ERROR(transmit_block_httpv2(_context->exec_env(),
^
be/src/common/status.h:634: expanded from macro 'RETURN_IF_ERROR'
if (UNLIKELY(!_status_.ok())) { \
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:380: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:385: +2, including nesting penalty of 1, nesting level increased to 2
if (request.block_holder->get_block()) {
^
be/src/pipeline/exec/exchange_sink_buffer.cpp:389: +1, nesting level increased to 1
} else {
^
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)