Skip to content

Commit

Permalink
Remove redundant call function _wait_in_flight_packet() (apache#3399)
Browse files Browse the repository at this point in the history
The function `_wait_in_flight_packet` has been called in `_send_cur_batch`.
No need to call twice.
  • Loading branch information
WingsGo authored and acelyc111 committed Apr 28, 2020
1 parent 5006109 commit 643bf28
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion be/src/exec/tablet_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ Status NodeChannel::close(RuntimeState* state) {
}

Status NodeChannel::_close(RuntimeState* state) {
RETURN_IF_ERROR(_wait_in_flight_packet());
return _send_cur_batch(true);
}

Expand Down

0 comments on commit 643bf28

Please sign in to comment.