You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Jason Rosenberg <jb...@squareup.com> on 2016/03/15 18:15:34 UTC

issue with read-only observer nodes

All,

I just filed this JIRA:
https://issues.apache.org/jira/browse/ZOOKEEPER-2389

It seems that read-only observer nodes don't properly transition into
read-only mode, they fail load any of their synced log data (but if you
restart them in read-only mode, they do read the synced data).

This is with version 3.4.8.

Is this a known issue?  Or an expected behavior?

It seems like read-only observers would be relatively unusable with the
current behavior....

Am I missing something?  Are people in general using read-only observer
nodes?

Thanks,

Jason

Re: issue with read-only observer nodes

Posted by Flavio Junqueira <fp...@apache.org>.
Thanks, Jason. If you have time and can work on a patch, I can work with you.

-Flavio

> On 16 Mar 2016, at 14:27, Jason Rosenberg <jb...@squareup.com> wrote:
> 
> Ok,
> 
> Let me know if I can help.
> 
> Thanks,
> 
> Jason
> 
> On Wed, Mar 16, 2016 at 5:22 AM, Flavio Junqueira <fp...@apache.org> wrote:
> 
>> Hi Jason,
>> 
>> It does sound like a bug and I'm not aware of a fix. We should look into
>> it.
>> 
>> -Flavio
>> 
>>> On 15 Mar 2016, at 17:15, Jason Rosenberg <jb...@squareup.com> wrote:
>>> 
>>> All,
>>> 
>>> I just filed this JIRA:
>>> https://issues.apache.org/jira/browse/ZOOKEEPER-2389
>>> 
>>> It seems that read-only observer nodes don't properly transition into
>>> read-only mode, they fail load any of their synced log data (but if you
>>> restart them in read-only mode, they do read the synced data).
>>> 
>>> This is with version 3.4.8.
>>> 
>>> Is this a known issue?  Or an expected behavior?
>>> 
>>> It seems like read-only observers would be relatively unusable with the
>>> current behavior....
>>> 
>>> Am I missing something?  Are people in general using read-only observer
>>> nodes?
>>> 
>>> Thanks,
>>> 
>>> Jason
>> 
>> 


Re: issue with read-only observer nodes

Posted by Jason Rosenberg <jb...@squareup.com>.
Ok,

Let me know if I can help.

Thanks,

Jason

On Wed, Mar 16, 2016 at 5:22 AM, Flavio Junqueira <fp...@apache.org> wrote:

> Hi Jason,
>
> It does sound like a bug and I'm not aware of a fix. We should look into
> it.
>
> -Flavio
>
> > On 15 Mar 2016, at 17:15, Jason Rosenberg <jb...@squareup.com> wrote:
> >
> > All,
> >
> > I just filed this JIRA:
> > https://issues.apache.org/jira/browse/ZOOKEEPER-2389
> >
> > It seems that read-only observer nodes don't properly transition into
> > read-only mode, they fail load any of their synced log data (but if you
> > restart them in read-only mode, they do read the synced data).
> >
> > This is with version 3.4.8.
> >
> > Is this a known issue?  Or an expected behavior?
> >
> > It seems like read-only observers would be relatively unusable with the
> > current behavior....
> >
> > Am I missing something?  Are people in general using read-only observer
> > nodes?
> >
> > Thanks,
> >
> > Jason
>
>

Re: issue with read-only observer nodes

Posted by Flavio Junqueira <fp...@apache.org>.
Hi Jason,

It does sound like a bug and I'm not aware of a fix. We should look into it.

-Flavio

> On 15 Mar 2016, at 17:15, Jason Rosenberg <jb...@squareup.com> wrote:
> 
> All,
> 
> I just filed this JIRA:
> https://issues.apache.org/jira/browse/ZOOKEEPER-2389
> 
> It seems that read-only observer nodes don't properly transition into
> read-only mode, they fail load any of their synced log data (but if you
> restart them in read-only mode, they do read the synced data).
> 
> This is with version 3.4.8.
> 
> Is this a known issue?  Or an expected behavior?
> 
> It seems like read-only observers would be relatively unusable with the
> current behavior....
> 
> Am I missing something?  Are people in general using read-only observer
> nodes?
> 
> Thanks,
> 
> Jason