riflechan opened a new issue, #11286: URL: https://github.com/apache/dubbo/issues/11286
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.18 * Operating System version: Ubuntu 20.04.5 LTS * Java version: 1.8.0_202 * nacos: ### Steps to reproduce this issue 1. 配置dubboreference 2. 启动服务 3. 调用服务,包no provider Pls. provide [GitHub address] to reproduce this issue. ### 服务调用成功 <!-- What do you expect from the above steps?--> ### 调用异常,包no provider <!-- What actually happens? --> 服务启动时,nacos下发本身的consumer信息变更事件,dubbo会用empty协议的本地provider初始化变更实例,次时变更实例数为1,导致注册中的forbidden设置为true; 如果此事件处理在正常实例下发事件处理之后,则会产生no provider异常   ``` Just put your stack trace here! ``` -- 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]
