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: > >>Not really. >> >>On Wed, Jan 4, 2012 at 12:47 AM, Jordan Zimmerman >><[email protected]>wrote: >> >>> Is there documentation on the multi/transaction feature added in 3.4 >>>other >>> than the Javadoc? >>> >>> -JZ >>> >>> >
