You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Gunnar Wagenknecht (Created) (JIRA)" <ji...@apache.org> on 2011/11/11 13:52:51 UTC
[jira] [Created] (ZOOKEEPER-1297) Add stat information to create()
call
Add stat information to create() call
-------------------------------------
Key: ZOOKEEPER-1297
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
Project: ZooKeeper
Issue Type: New Feature
Components: java client
Affects Versions: 3.3.3
Reporter: Gunnar Wagenknecht
In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1297) Add stat information to
create() call
Posted by "Lenni Kuff (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463608#comment-13463608 ]
Lenni Kuff commented on ZOOKEEPER-1297:
---------------------------------------
Posted patch on review board: https://reviews.apache.org/r/7283/
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
> Labels: newbie
> Attachments: ZOOKEEPER-1297.patch
>
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1297) Add stat information to create()
call
Posted by "Lenni Kuff (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lenni Kuff updated ZOOKEEPER-1297:
----------------------------------
Attachment: ZOOKEEPER-1297.patch
Rebased to latest mainline
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
> Assignee: Lenni Kuff
> Labels: newbie
> Attachments: ZOOKEEPER-1297.patch, ZOOKEEPER-1297.patch
>
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1297) Add stat information to
create() call
Posted by "Patrick Hunt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148732#comment-13148732 ]
Patrick Hunt commented on ZOOKEEPER-1297:
-----------------------------------------
Does seem like an oversight to me. We might be able to append this data to the current response and still have it be backward compatible on the wire. We could then overload the Java methods and introduce new methods on the C client side.
Would be a great project for a new contributor.
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1297) Add stat information to
create() call
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463629#comment-13463629 ]
Hadoop QA commented on ZOOKEEPER-1297:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12546656/ZOOKEEPER-1297.patch
against trunk revision 1389711.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 28 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1189//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1189//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1189//console
This message is automatically generated.
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
> Labels: newbie
> Attachments: ZOOKEEPER-1297.patch
>
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1297) Add stat information to create()
call
Posted by "Lenni Kuff (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lenni Kuff updated ZOOKEEPER-1297:
----------------------------------
Attachment: ZOOKEEPER-1297.patch
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
> Labels: newbie
> Attachments: ZOOKEEPER-1297.patch
>
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (ZOOKEEPER-1297) Add stat information to create()
call
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-1297:
---------------------------------------
Assignee: Lenni Kuff
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
> Assignee: Lenni Kuff
> Labels: newbie
> Attachments: ZOOKEEPER-1297.patch
>
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1297) Add stat information to
create() call
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500916#comment-13500916 ]
Hadoop QA commented on ZOOKEEPER-1297:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12554302/ZOOKEEPER-1297.patch
against trunk revision 1410731.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 28 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1270//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1270//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1270//console
This message is automatically generated.
> Add stat information to create() call
> -------------------------------------
>
> Key: ZOOKEEPER-1297
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1297
> Project: ZooKeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.3.3
> Reporter: Gunnar Wagenknecht
> Assignee: Lenni Kuff
> Labels: newbie
> Attachments: ZOOKEEPER-1297.patch, ZOOKEEPER-1297.patch
>
>
> In order to get a Stat object after creation one has to do another exists() call. This leaves client code vulnerable to a possible update window by another writer. All synchronous methods but the create() method allow to pass in a Stat object for population. It would be nice if the create() method would also allow this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira