Skip to content

Commit

Permalink
chore: check exception first on flush
Browse files Browse the repository at this point in the history
  • Loading branch information
gintarasm committed Feb 6, 2024
1 parent 7dfff93 commit 1da388f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public void close() {

@Override
public void flush(boolean endOfInput) {
inflightRequestCount.arriveAndAwaitAdvance();
checkAsyncException();
inflightRequestCount.arriveAndAwaitAdvance();
}

static class AppendCallBack<A> implements ApiFutureCallback<AppendRowsResponse> {
Expand Down

0 comments on commit 1da388f

Please sign in to comment.