The way that zookeeper works internally probably makes these two options
about equal difficulty.  The master has to examine the queue augmented by
the versions in the multi-update in either case.  The only difference is
whether after qualifying the update does it copy multiple one unconditional
update or several.

On Wed, Dec 15, 2010 at 7:20 PM, Qian Ye <[email protected]> wrote:

> I think the second is easier to implement because it only updates data on
> one node, and need not handle rollback in the case of some update failure
> after some update success.
>

Reply via email to