zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Multi doc?
Date Wed, 04 Jan 2012 18:20:09 GMT
On Wed, Jan 4, 2012 at 10:03 AM, Jordan Zimmerman
<jzimmerman@netflix.com> wrote:
> * Can someone give more detail on Op.check()? I assume it generates an
> error if the version of the path doesn't match, but the doc is confusing
> to me. What happens if the transaction has both a setData and a check?

I believe processing stops as soon as a check fails. We should clarify
that in the javadocs though.

> * Does ZooKeeper.multi() guarantee that there will be exactly 1 OpResult
> for every Op in the transaction. Further, is there an ordering guarantee
> for the OpResult list - i.e. the OpResults are in the same order as the
> Ops argument? If this isn't so, I don't see how someone could correlate an
> Op to its result.

Did the patch for https://issues.apache.org/jira/browse/ZOOKEEPER-1336
not do a good enough job on that?

> On 1/4/12 7:30 AM, "Ted Dunning" <ted.dunning@gmail.com> wrote:
>>Not really.
>>On Wed, Jan 4, 2012 at 12:47 AM, Jordan Zimmerman
>>> Is there documentation on the multi/transaction feature added in 3.4
>>> than the Javadoc?
>>> -JZ

View raw message