Skip to content

Conversation

@lyl2008dsg
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

This PR enhances the RemotingClient by implementing a mechanism to quickly fail pending requests when a channel disconnects after a message has been sent. The key changes include:

Ⅱ. Does this pull request fix one issue?

#7058

Ⅲ. Why don't you add test cases (unit test/integration test)?

wait a moment

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

…ndAsyncResponse channelToRequestIds; and Check if the current log level is DEBUG or WARN.
@lyl2008dsg lyl2008dsg force-pushed the feature_client_fast_fail branch from 6e604a6 to 9d18625 Compare March 1, 2025 06:53
@funky-eyes
Copy link
Contributor

You need to merge the latest 2.x branch code and submit it.

Set<Integer> requestIds = channelToRequestIds.remove(channel);
if (requestIds != null) {
for (Integer requestId : requestIds) {
MessageFuture future = futures.remove(requestId);
Copy link
Contributor

Choose a reason for hiding this comment

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

The childToParentMap has not been handled together.

@funky-eyes funky-eyes closed this May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants