curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randgalt <...@git.apache.org>
Subject [GitHub] curator pull request: [CURATOR-209] Better handling of background ...
Date Mon, 28 Dec 2015 15:14:15 GMT
GitHub user Randgalt opened a pull request:

    https://github.com/apache/curator/pull/120

    [CURATOR-209] Better handling of background errors

    1. Don't queue background operation if the client is closed
    2. Moved findAndDeleteProtectedNodeInBackground code into separate operation that is processed
through the standard Curator background code. This way, retries are applied (with sleep),
etc. In the previous implementation, errors caused the background check to be run immediately
and infinitely.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/curator CURATOR-209

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/curator/pull/120.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #120
    
----
commit 9b68e19a278e025fa5884445a2b2519463b57445
Author: randgalt <randgalt@apache.org>
Date:   2015-12-28T15:08:51Z

    Moved findAndDeleteProtectedNodeInBackground code into separate operation that is processed
through the standard Curator background
    code. This way, retries are applied (with sleep), etc. In the previous implementation,
errors caused the background check to be run immediately and infinitely.

commit 8dff2d7cf69f21fdc42e31fb33feed990915fcc7
Author: randgalt <randgalt@apache.org>
Date:   2015-12-28T15:11:55Z

    Don't queue background operation if the client is closed

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message