curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CURATOR-81) Service Discovery InstanceCleanup cleans up DYNAMIC registration
Date Fri, 07 Feb 2014 23:21:20 GMT

     [ https://issues.apache.org/jira/browse/CURATOR-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jordan Zimmerman reassigned CURATOR-81:
---------------------------------------

    Assignee: Jordan Zimmerman

> Service Discovery InstanceCleanup cleans up DYNAMIC registration
> ----------------------------------------------------------------
>
>                 Key: CURATOR-81
>                 URL: https://issues.apache.org/jira/browse/CURATOR-81
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.3.0
>            Reporter: David Trott
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 2.4.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Line #110 of InstanceCleanup reads:
>                 if ( instance.getServiceType() != ServiceType.PERMANENT )
> It should be:
>                 if ( instance.getServiceType() == ServiceType.STATIC )
> Otherwise the cleanup code processes dynamic registrations such as it's own registration.
> Since dynamic registrations are created with EPHEMERAL nodes (ServiceDiscoveryImpl#175)
there is no need to cleanup dynamic registrations anyway.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message