Rafiaminhaj opened a new pull request, #15916:
URL: https://github.com/apache/dubbo/pull/15916
## What is the purpose of the change?
When a provider goes offline, the consumer may still attempt to send requests
using an already disconnected client channel, which results in send failures.
This change ensures that the client explicitly attempts to reconnect before
sending a request when the provider is offline and reconnection is enabled.
## What is changed?
- Added a reconnect check in `AbstractClient#send` to reconnect before
sending
when the client is not connected.
- Improved reconnect handling logic in `ReconnectTimerTask` to better align
with offline provider scenarios.
## Which issue does this PR fix?
Fixes #15913
## How was this tested?
- Verified the reconnect behavior by simulating provider offline scenarios.
- Ensured requests are sent successfully after reconnection.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]