You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all serviceDiscoveryRegistry will set localInstance, just like ServiceDiscoveryRegistry, it didn't maintain localInstance, it will cause NPE at BubboBootstrap.registerServiceInstance();
problems.
dubbo/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
Lines 1173 to 1177 in 51d5a88
dubbo/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/ServiceInstanceMetadataUtils.java
Lines 263 to 272 in 51d5a88
The key which is used to judge instance is update, it should be reset after update process.
dubbo/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/ServiceInstanceMetadataUtils.java
Line 253 in 51d5a88
The subclass of ServiceDiscoverty is messed, unify the subclass process about register and update in AbstractServiceDiscovery.