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] [Closed] (CURATOR-101) ServiceDiscoveryImpl.close() fails if the service was never started
Date Sun, 19 Apr 2015 17:36:58 GMT

     [ 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)

Mime
View raw message