Details
Description
ServiceDiscoveryImpl.registerService() remembers service registrations in a map. However updateService() does not update the map.
This causes a wrong registration in the case of a RECONNECT - e.g. reRegisterServices() called by the ConnectionStateListener registers the old ServiceInstance instead of the updated one.
Attachments
Attachments
Issue Links
- is fixed by
-
CURATOR-164 curator-x-discovery: unregisterService is not guaranteed to remove the service, due to reconnectListener concurrency issue
- Resolved