You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2015/01/12 22:11:34 UTC
[jira] [Created] (CURATOR-181) discovery: registration of wrong/old
service instance on RECONNECT
Jordan Zimmerman created CURATOR-181:
----------------------------------------
Summary: discovery: registration of wrong/old service instance on RECONNECT
Key: CURATOR-181
URL: https://issues.apache.org/jira/browse/CURATOR-181
Project: Apache Curator
Issue Type: Bug
Components: Recipes
Reporter: Jordan Zimmerman
Assignee: Jordan Zimmerman
Fix For: 2.7.1
PR without a Jira: https://github.com/apache/curator/pull/43
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)