jkoChen commented on issue #15725:
URL: https://github.com/apache/dubbo/issues/15725#issuecomment-3424986545

   The method for adding a service instance listener, 
org.apache.dubbo.registry.nacos.NacosServiceDiscovery#addServiceInstancesChangedListener,
 is executed after the connect method. Therefore, if the server goes offline 
while the connect method is executing, the service offline event will not be 
handled by this listener (in nacos-client version 2.3.2) — because the listener 
does not exist at the time of the offline event. In nacos-client version 2.5.1, 
when the listener is added, it is directly triggered once, so the retry task 
can be stopped correctly.
   
   


-- 
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]

Reply via email to