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/04/19 19:36:58 UTC

[jira] [Closed] (CURATOR-101) ServiceDiscoveryImpl.close() fails if the service was never started

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

Jordan Zimmerman closed CURATOR-101.
------------------------------------
    Resolution: Not A Problem

It's a user error to close the Curator connection while it's still being used elsewhere.

> ServiceDiscoveryImpl.close() fails if the service was never started
> -------------------------------------------------------------------
>
>                 Key: CURATOR-101
>                 URL: https://issues.apache.org/jira/browse/CURATOR-101
>             Project: Apache Curator
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Steve Loughran
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>
> the {{close()}} operator of ServiceDiscoveryImpl raises an {{IllegalStateException}} if you attempt to call it -this is a runtime exception and somewhat drastic on an operation that should be robust against odd states.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)