zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shraer <shra...@gmail.com>
Subject Re: read under transaction
Date Tue, 28 Jun 2016 18:39:56 GMT
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 <phunt@apache.org> 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 <samoilov@gmail.com>
> 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!
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message