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!
>

Reply via email to