Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # dev - Why does multi-op check operation increment zxid?


Copy link to this message
-
Re: Why does multi-op check operation increment zxid?
Marshall McMullen 2011-10-20, 16:07
I agree with Ted, these are both definitely bugs.

On Thu, Oct 20, 2011 at 6:52 AM, Ted Dunning <[EMAIL PROTECTED]> wrote:

> Both of these sound like bugs.
>
> Sent from my iPhone
>
> On Oct 20, 2011, at 6:44, Thomas Koch <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I'm woundering: The check operation is threaded like a write operation in
> > PrepRequestProcessor. It gets a TxnHeader attached and increments the
> zxid.
> > However the switch cases in ObserverRequestProcessor, CommitProcessor,
> > FollowerRequestProcessor and ReadOnlyRequestProcessor thread a check like
> a
> > read operation.
> > I don't know, whether this is a bug, but the inconsistency makes one
> > suspicious and merits an explaining comment.
> >
> > Btw. The switch block in the ReadOnlyRequestProcessor does not list multi
> as a
> > write operation. Can this cause problems?
> >
> > Best regards,
> >
> > Thomas Koch, http://www.koch.ro
>