You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2020/04/27 12:45:35 UTC
[incubator-doris] branch master updated: Remove redundant call
function _wait_in_flight_packet() (#3399)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 0430714 Remove redundant call function _wait_in_flight_packet() (#3399)
0430714 is described below
commit 0430714ca9b0d910ba9b290276da05adfc752f8f
Author: WingC <10...@qq.com>
AuthorDate: Mon Apr 27 07:45:25 2020 -0500
Remove redundant call function _wait_in_flight_packet() (#3399)
The function `_wait_in_flight_packet` has been called in `_send_cur_batch`.
No need to call twice.
---
be/src/exec/tablet_sink.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/be/src/exec/tablet_sink.cpp b/be/src/exec/tablet_sink.cpp
index 30656e6..59ff016 100644
--- a/be/src/exec/tablet_sink.cpp
+++ b/be/src/exec/tablet_sink.cpp
@@ -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);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org