You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this method, When an exception is thrown, remove the responseFuture in a timely manner,Even if there is a scheduled scan(scanResponseTable) for expired tasks, it is most appropriate to remove them as soon as possible.
Moreover, when an exception occurs during sending, there is no need to consider InvokeCallback. just remove it directly
Motivation
During the process of sending a request, there may be exceptions caused by network or other reasons, which will result in the above-mentioned situation.
Describe the Solution You'd Like
In the exception block, remove responseFuture
Describe Alternatives You've Considered
Not yet
Additional Context
No response
The text was updated successfully, but these errors were encountered:
CLFutureX
changed the title
[Enhancement] Remove responseFuture from the responseTable when an exception occurs
[Enhancement] When exception, it will cause responseFuture to never be removed
Aug 2, 2023
CLFutureX
changed the title
[Enhancement] When exception, it will cause responseFuture to never be removed
[Enhancement] When an exception is thrown, remove the responseFuture in a timely manner
Aug 2, 2023
Before Creating the Enhancement Request
Summary
org.apache.rocketmq.remoting.netty.NettyRemotingAbstract#invokeAsyncImpl
In this method, When an exception is thrown, remove the responseFuture in a timely manner,Even if there is a scheduled scan(scanResponseTable) for expired tasks, it is most appropriate to remove them as soon as possible.
Moreover, when an exception occurs during sending, there is no need to consider InvokeCallback. just remove it directly
Motivation
During the process of sending a request, there may be exceptions caused by network or other reasons, which will result in the above-mentioned situation.
Describe the Solution You'd Like
In the exception block, remove responseFuture
Describe Alternatives You've Considered
Not yet
Additional Context
No response
The text was updated successfully, but these errors were encountered: