You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by estliberitas <gi...@git.apache.org> on 2015/04/30 00:39:15 UTC

[GitHub] curator pull request: CURATOR-211 - Fix readLockPredicate() index ...

GitHub user estliberitas opened a pull request:

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

    CURATOR-211 - Fix readLockPredicate() index validation issue

    Fixing bug described in https://issues.apache.org/jira/browse/CURATOR-211.
    
    In case if `ourIndex` is never assigned it will equal to `-1` which will result in throwing exception by `StandardLockInternalsDriver.validateOurIndex()`.

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

    $ git pull https://github.com/estliberitas/curator CURATOR-211

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

    https://github.com/apache/curator/pull/75.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 #75
    
----
commit fc11514987e0ad25046fa384672c6f16408b736b
Author: Alexander Makarenko <es...@gmail.com>
Date:   2015-04-29T22:37:35Z

    CURATOR-211 - Fix readLockPredicate() index validation issue

----


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