curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ulle <...@git.apache.org>
Subject [GitHub] curator pull request: [CURATOR-315] Reconnect during InterProcessS...
Date Mon, 11 Apr 2016 21:05:28 GMT
GitHub user ulle opened a pull request:

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

    [CURATOR-315] Reconnect during InterProcessSemaphoreV2.acquire can lead to orphaned node

    Only add successfully acquired leases to the builder passed to internalAcquire1Lease.
Close leases on other return paths.
    This ensures that acquire does not return more leases than requested, as it is expected
by the convenience methods for acquiring a single lease.

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

    $ git pull https://github.com/ulle/curator CURATOR-315

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

    https://github.com/apache/curator/pull/143.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 #143
    
----
commit 613a51be4535544e990d31e485674e237bd7e2da
Author: Ulrich Geilmann <ugeilmann@googlemail.com>
Date:   2016-04-11T13:32:29Z

    Return leases before retrying aquire

----


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