Skip to content

Commit

Permalink
[ISSUE #7111] Remove responseFuture from the responseTable when excep…
Browse files Browse the repository at this point in the history
…tion occurs (#7112)

* remove responseFuture when exception
* Empty-Commit

---------
Co-authored-by: chenyong152 <[email protected]>
  • Loading branch information
CLFutureX authored Aug 29, 2023
1 parent b028277 commit bd0e9c0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ public void invokeAsyncImpl(final Channel channel, final RemotingCommand request
log.warn("send a request command to channel <{}> failed.", RemotingHelper.parseChannelRemoteAddr(channel));
});
} catch (Exception e) {
responseTable.remove(opaque);
responseFuture.release();
log.warn("send a request command to channel <" + RemotingHelper.parseChannelRemoteAddr(channel) + "> Exception", e);
throw new RemotingSendRequestException(RemotingHelper.parseChannelRemoteAddr(channel), e);
Expand Down

1 comment on commit bd0e9c0

@im47cn
Copy link

@im47cn im47cn commented on bd0e9c0 May 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有同步到4.9.x

Please sign in to comment.