curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evaristo (JIRA)" <>
Subject [jira] [Commented] (CURATOR-72) Background operations don't wait for connection timeout
Date Fri, 31 Jan 2014 22:22:10 GMT


Evaristo commented on CURATOR-72:

Hi there,

TestListenerWithLeaderSelectorBis shows a snow ball effect with ConnectionLossExceptions

One of the issues that I have found with CURATOR-72 code is that callBack for retriesExhausted
in background operations is called twice (once by checkBackgroundRetry and another one by
handleBackgroundOperationException). This generates an snow fall effect if you are using for
instance a guaranted delete like is used by the leader selector to delete lock nodes when
the connection is suspended.

Even fixing that, I am pretty sure there is more issues  because the ConnectionLoss exceptions
storm still grows

> Background operations don't wait for connection timeout
> -------------------------------------------------------
>                 Key: CURATOR-72
>                 URL:
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.3.0
>            Reporter: Evaristo Camarero
>            Assignee: Jordan Zimmerman
>             Fix For: 2.4.0
>         Attachments:,,,,,
> Background operations don't wait for the configured connection timeout before failing.
Attached test shows the problem.

This message was sent by Atlassian JIRA

View raw message