Rafiaminhaj opened a new pull request, #16010: URL: https://github.com/apache/dubbo/pull/16010
What was the problem? When a provider goes offline, the reconnect timer could be scheduled multiple times without cancelling the previous task. This resulted in duplicate reconnect attempts and unnecessary resource usage. What is changed? Improved ReconnectTimerTask to cancel any existing timeout before scheduling a new reconnect. Ensured reconnect scheduling is properly controlled to avoid duplicate timers. Updated AbstractClient to align with the corrected reconnect behavior. Why is this change needed? This fix prevents repeated reconnect executions, reduces redundant network attempts, and improves stability when handling offline providers. How was it tested? Built the project successfully using: mvnw clean install -DskipTests Verified no Spotless or formatting violations -- 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]
