Skip to content

Commit

Permalink
[feature](selectdb-cloud) Pick "[fix](load) fix that load channel fai…
Browse files Browse the repository at this point in the history
…led to be released in time (apache#14119)"

commit 3690c4d
Author: Xin Liao <liaoxinbit@126.com>
Date:   Wed Nov 9 22:38:08 2022 +0800
    [fix](load) fix that load channel failed to be released in time (apache#14119)
  • Loading branch information
liaoxin01 committed Nov 18, 2022
1 parent ac202c7 commit 8a84b89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions be/src/exec/tablet_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,8 @@ Status OlapTableSink::close(RuntimeState* state, Status close_status) {
if (!s.ok()) {
index_channel->mark_as_failed(ch->node_id(), ch->host(),
s.get_error_msg(), -1);
// cancel the node channel in best effort
ch->cancel(s.get_error_msg());
LOG(WARNING)
<< ch->channel_info()
<< ", close channel failed, err: " << s.get_error_msg();
Expand Down

0 comments on commit 8a84b89

Please sign in to comment.