-Re: Multi doc?
Patrick Hunt 2012-01-04, 18:20
On Wed, Jan 4, 2012 at 10:03 AM, Jordan Zimmerman
<[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> wrote:
>>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?