But these writes can be conditional (on the version of the data), which could probably be used to achieve what you need.
On Tue, Jun 28, 2016 at 11:33 AM, Patrick Hunt <[email protected]> wrote: > Multi is more of an atomic operation than a "transaction" in the typical > sense. See https://issues.apache.org/jira/browse/ZOOKEEPER-965 for some > background. I don't believe the original use case involved reading multiple > znodes, rather updating multiple. > > Patrick > > On Mon, Jun 20, 2016 at 2:33 PM, Denis Samoilov <[email protected]> > wrote: > > > hi, > > I see that there is multi() function to write data under transaction. But > > it accepts only mutation operations. Is it possible to read under > > transaction somehow (so data will be consistent)? > > > > Thank you! > > >
