curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Morello (JIRA)" <>
Subject [jira] [Commented] (CURATOR-52) Retry issues with background operations
Date Wed, 18 Sep 2013 12:32:52 GMT


Michael Morello commented on CURATOR-52:

I think there is a problem with the way the callback is called in case of connection loss
: in that case the background callback is not actually invoked "in background" but directly
in the same thread.
In case of a recursive call in the callback the thread blow up quickly with a stack overflow
error, here is an example :

btw this is exactly what I want to do in CURATOR-45
> Retry issues with background operations
> ---------------------------------------
>                 Key: CURATOR-52
>                 URL:
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.2.0-incubating
>            Reporter: Michael Morello
>            Assignee: Jordan Zimmerman
>             Fix For: 2.3.0-incubating
>         Attachments: CURATOR-52.patch
not propagated to callback when the retry policy gave up if the operation is done in background.
> Additionally, all background operations do not retry connection issues if the zookeeper
connection is not currently connected. This is a major oversight.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message