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/21 18:21:59 UTC

[jira] [Commented] (CURATOR-192) ChildReaper loggs error when the path to reap children from is empty

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