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] [Commented] (CURATOR-192) ChildReaper loggs error when the path to reap children from is empty
Date Tue, 21 Apr 2015 16:21:59 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505209#comment-14505209
] 

Jordan Zimmerman commented on CURATOR-192:
------------------------------------------

NoNode would only be thrown if the _parent_ node didn't exist. This means a node was added
to the ChildReaper that no longer exists. Shouldn't this be logged?

> ChildReaper loggs error when the path to reap children from is empty
> --------------------------------------------------------------------
>
>                 Key: CURATOR-192
>                 URL: https://issues.apache.org/jira/browse/CURATOR-192
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 2.7.1
>            Reporter: Ricardo Ferreira
>            Priority: Minor
>
> When retrieving the children to reap, if there are no children a KeeperErrorCode = NoNode
is thrown.
> This exception is logged as an error.
> This should be an expected behavior, so either a KeeperException.NoNodeException should
be caught and silenced or logged as debug/trace.



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

Mime
View raw message