You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by alexlopashev <gi...@git.apache.org> on 2014/05/22 11:21:34 UTC

[GitHub] curator pull request: Fix of DistributedAtomicValue#compareAndSet ...

GitHub user alexlopashev opened a pull request:

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

    Fix of DistributedAtomicValue#compareAndSet to work with empty node

    Fix of DistributedAtomicValue#compareAndSet to work with value from node with no data (byte[0]{}). Such value is not equal to correct zero representation of integer (byte[4]{0,0,0,0}) and long (byte[8]{0,0,0,0,0,0,0,0}) in terms of Arrays.equals.

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

    $ git pull https://github.com/alexlopashev/curator master

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

    https://github.com/apache/curator/pull/8.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 #8
    
----
commit d62b488c4c809c512cbb29d077276bfee9b51d96
Author: lopashev <lo...@yandex-team.ru>
Date:   2014-05-22T09:18:25Z

    Fix of DistributedAtomicValue#compareAndSet to work with value from node with no data (byte[0]{}). Such value is not equal to correct zero representation of integer (byte[4]{0,0,0,0}) and long (byte[8]{0,0,0,0,0,0,0,0}) in terms of Arrays.equals.

----


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

[GitHub] curator pull request: Fix of DistributedAtomicValue#compareAndSet ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


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

[GitHub] curator pull request: Fix of DistributedAtomicValue#compareAndSet ...

Posted by Randgalt <gi...@git.apache.org>.
Github user Randgalt commented on the pull request:

    https://github.com/apache/curator/pull/8#issuecomment-43882420
  
    Is there a Jira for this? If not, please create one and reference this PR.


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