-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Recovery problem after zk reconnect #5930
Description
Three configuration scenarios:
Scenario 1: Configured in /dubbo/xxx.xxx.XxxService/configurators in the ZK directory
Scenario 2: Configured and configured in /dubbo/config/dubbo/application-name.configurators in the ZK directory
Scenario 3: Configured in /dubbo/config/dubbo/org.apache.dubbo.demo.XxxService::.configurators in the ZK directory
When the service is started, if ZK is disconnected halfway, org.apache.dubbo.registry.integration.RegistryProtocol.OverrideListener # doOverrideIfNecessary will cause reExport, remove the old registered URL in reExport, delete ZK Nodes, but unable to communicate with ZK, will cause this notification to fail, and re-notification will not be able to sense the url change, so it will not be reExported. After subsequent reconnection to ZK, the service will be lost if the recover operation is re-registered.