zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall McMullen <marshall.mcmul...@gmail.com>
Subject Re: read under transaction
Date Tue, 28 Jun 2016 18:43:55 GMT
There have been similar requests to provide a "batch" operation:
https://issues.apache.org/jira/browse/ZOOKEEPER-1482

Also see https://issues.apache.org/jira/browse/ZOOKEEPER-1407 to allow
adding GetData and GetChildren into existing Multi-operation code.


On Tue, Jun 28, 2016 at 12:39 PM, Alexander Shraer <shralex@gmail.com>
wrote:

> 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