zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject Re: Multi doc?
Date Wed, 04 Jan 2012 18:25:38 GMT
>Did the patch for https://issues.apache.org/jira/browse/ZOOKEEPER-1336
>not do a good enough job on that?
Missed that - thanks.



On 1/4/12 10:20 AM, "Patrick Hunt" <phunt@apache.org> wrote:

>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
>>><jzimmerman@netflix.com>wrote:
>>>
>>>> Is there documentation on the multi/transaction feature added in 3.4
>>>>other
>>>> than the Javadoc?
>>>>
>>>> -JZ
>>>>
>>>>
>>
>


Mime
View raw message