Thanks Alexander. Unfortunately the count doesn't get exported.

On Wed, Oct 1, 2014 at 4:51 PM, Alexander Shraer <[email protected]> wrote:

> I don't think there is a plan to have this patch for < 3.5.0 since those
> versions use a static configuration.
> As mentioned here by others its not clear how to account for node failures
> as the system is asynchronous.
>
> The leader maintains a count of synced followers, perhaps you could use
> this count some how ? I'm not sure
> if its exported though.
>
> On Wed, Oct 1, 2014 at 12:23 PM, Biju N <[email protected]> wrote:
>
> > Thanks Alexander. Is there a plan to make the patch available in prior
> > versions. Also if it is not planned, it would be helpful to have an
> > attribute to store the actual count of the nodes in the quorum which can
> be
> > used for monitoring along with the quorum size attribute currently
> > available.
> >
> > On Wed, Oct 1, 2014 at 3:00 PM, Alexander Shraer <[email protected]>
> > wrote:
> >
> > > if a node gets added JMX should reflect this (
> > > https://issues.apache.org/jira/browse/ZOOKEEPER-1659)
> > >
> > > On Wed, Oct 1, 2014 at 11:04 AM, Biju N <[email protected]>
> wrote:
> > >
> > > > If we can have an additional JMX attribute which stores the quorum
> size
> > > at
> > > > the node sees it that should help. The leader node should have the
> > > correct
> > > > quorum size at any point in time. Correct?
> > > >
> > > > On Wed, Oct 1, 2014 at 12:06 PM, Dutch Meyer <[email protected]>
> wrote:
> > > >
> > > > > Different zookeeper servers may have different views of who has
> > failed.
> > > > If
> > > > > a node is failed from the perspective of some members of the
> ensemble
> > > but
> > > > > not others, what ;would you expect to be reported?
> > > > >
> > > > >
> > > > > On Wed, Oct 1, 2014 at 8:38 AM, Biju N <[email protected]>
> > wrote:
> > > > >
> > > > > > Looks like JMX data is static based zoo.cfg. If any of the nodes
> > fail
> > > > or
> > > > > a
> > > > > > new node gets added, the size doesn't gets updated until zoo.cfg
> is
> > > > > > updated. Let me know otherwise.
> > > > > >
> > > > > > On Wed, Oct 1, 2014 at 10:19 AM, Kuba Lekstan <[email protected]
> >
> > > > wrote:
> > > > > >
> > > > > > > AFAIR JMX shows this.
> > > > > > >
> > > > > > > 2014-09-30 18:53 GMT+02:00 Biju N <[email protected]>:
> > > > > > >
> > > > > > > > Hi There,
> > > > > > > >    What is the best approach to find the number of active
> > servers
> > > > in
> > > > > > the
> > > > > > > > quorum? Thank you in advance for your input.
> > > > > > > >
> > > > > > > > - Biju
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > -=-Dutch
> > > > >
> > > >
> > >
> >
>

Reply via email to