You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/12 03:50:33 UTC

[GitHub] [dubbo] BurningCN commented on issue #10283: 当服务重启后ServiceInstancesChangedListener一直在重试

BurningCN commented on issue #10283:
URL: https://github.com/apache/dubbo/issues/10283#issuecomment-1181283214

   > https://github.com/apache/dubbo/blob/7a33ddf93c43f9de8e45e7bc80a22a04beecf654/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/event/listener/ServiceInstancesChangedListener.java#L171
   > 
   > provider重启后,consumer一直在这个方法重试 171行提交延迟10s的AddressRefreshRetryTask到线程池 10s后会走到523行ServiceInstancesChangedListener.this.onEvent(retryEvent); 如果还是连不上,就又走到171行
   > 
   > 但是服务已经被重启,这里一直在重试旧的实例,就进入死循环了
   
   你好,描述中提到"重试旧的实例",是旧实例一直都存在于容器没被剔除吗?


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org