You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Kamen Petroff (JIRA)" <ji...@apache.org> on 2014/09/11 15:35:33 UTC

[jira] [Created] (CURATOR-146) discovery: registration of wrong/old service instance on RECONNECT

Kamen Petroff created CURATOR-146:
-------------------------------------

             Summary: discovery: registration of wrong/old service instance on RECONNECT
                 Key: CURATOR-146
                 URL: https://issues.apache.org/jira/browse/CURATOR-146
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 2.6.0, 2.5.0, 2.4.2, 2.4.1, 2.4.0, 2.3.0
            Reporter: Kamen Petroff
            Priority: Critical


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)