You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Joel Mestres <jo...@globant.com> on 2019/05/29 21:02:36 UTC

majority of non-failing machines VS quorum

Hello which is the relation between the number of F failling machines that
the cluster can tolerate and the quorum configuration? F determines the
posibles numbers of quorums? or F can be greater / smaller than quorum ?
thanks in advance for your response!

-- 


The information contained in this e-mail may be confidential. It has been 
sent for the sole use of the intended recipient(s). If the reader of this 
message is not an intended recipient, you are hereby notified that any 
unauthorized review, use, disclosure, dissemination, distribution or 
copying of this communication, or any of its contents, is strictly 
prohibited. If you have received it by mistake please let us know by e-mail 
immediately and delete it from your system. Many thanks.

 

La información 
contenida en este mensaje puede ser confidencial. Ha sido enviada para el 
uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje no 
fuera el destinatario previsto, por el presente queda Ud. notificado que 
cualquier lectura, uso, publicación, diseminación, distribución o copiado 
de esta comunicación o su contenido está estrictamente prohibido. En caso 
de que Ud. hubiera recibido este mensaje por error le agradeceremos 
notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas 
gracias.


Re: majority of non-failing machines VS quorum

Posted by Alexander Shraer <sh...@gmail.com>.
yep, for odd n that's right.

On Thu, May 30, 2019 at 1:30 PM Joel Mestres <jo...@globant.com>
wrote:

> ok great so the minimum quorum always is F + 1 considering n as odd, right
> ?
>
> On Thu, May 30, 2019 at 3:38 PM Alexander Shraer <sh...@gmail.com>
> wrote:
>
> > If you're using "majority quorums" (the default in ZK),
> F=floor((n-1)/2). A
> > quorum is any set containing a majority (or more) of servers.
> > The basic requirement is that any two quorums must intersect.
> >
> >
> > On Wed, May 29, 2019 at 6:55 PM Patrick Hunt <ph...@apache.org> wrote:
> >
> > > 2n+1 = ensemble size required to survive n failed zkservers (servers
> not
> > in
> > > the quorum)
> > >
> > > iow: 3 nodes means 1 zkserver can fail and the service is still up. 5
> and
> > > you can survive 2 failures.
> > >
> > > Patrick
> > >
> > > On Wed, May 29, 2019 at 4:43 PM Joel Mestres <joel.mestres@globant.com
> >
> > > wrote:
> > >
> > > > Hello which is the relation between the number of F failling machines
> > > that
> > > > the cluster can tolerate and the quorum configuration? F determines
> the
> > > > posibles numbers of quorums? or F can be greater / smaller than
> quorum
> > ?
> > > > thanks in advance for your response!
> > > >
> > > > --
> > > >
> > > >
> > > > The information contained in this e-mail may be confidential. It has
> > been
> > > > sent for the sole use of the intended recipient(s). If the reader of
> > this
> > > > message is not an intended recipient, you are hereby notified that
> any
> > > > unauthorized review, use, disclosure, dissemination, distribution or
> > > > copying of this communication, or any of its contents, is strictly
> > > > prohibited. If you have received it by mistake please let us know by
> > > > e-mail
> > > > immediately and delete it from your system. Many thanks.
> > > >
> > > >
> > > >
> > > > La información
> > > > contenida en este mensaje puede ser confidencial. Ha sido enviada
> para
> > el
> > > > uso exclusivo del destinatario(s) previsto. Si el lector de este
> > mensaje
> > > > no
> > > > fuera el destinatario previsto, por el presente queda Ud. notificado
> > que
> > > > cualquier lectura, uso, publicación, diseminación, distribución o
> > copiado
> > > > de esta comunicación o su contenido está estrictamente prohibido. En
> > caso
> > > > de que Ud. hubiera recibido este mensaje por error le agradeceremos
> > > > notificarnos por e-mail inmediatamente y eliminarlo de su sistema.
> > Muchas
> > > > gracias.
> > > >
> > > >
> > >
> >
>
> --
>
>
> The information contained in this e-mail may be confidential. It has been
> sent for the sole use of the intended recipient(s). If the reader of this
> message is not an intended recipient, you are hereby notified that any
> unauthorized review, use, disclosure, dissemination, distribution or
> copying of this communication, or any of its contents, is strictly
> prohibited. If you have received it by mistake please let us know by
> e-mail
> immediately and delete it from your system. Many thanks.
>
>
>
> La información
> contenida en este mensaje puede ser confidencial. Ha sido enviada para el
> uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje
> no
> fuera el destinatario previsto, por el presente queda Ud. notificado que
> cualquier lectura, uso, publicación, diseminación, distribución o copiado
> de esta comunicación o su contenido está estrictamente prohibido. En caso
> de que Ud. hubiera recibido este mensaje por error le agradeceremos
> notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas
> gracias.
>
>

Re: majority of non-failing machines VS quorum

Posted by Joel Mestres <jo...@globant.com>.
ok great so the minimum quorum always is F + 1 considering n as odd, right ?

On Thu, May 30, 2019 at 3:38 PM Alexander Shraer <sh...@gmail.com> wrote:

> If you're using "majority quorums" (the default in ZK), F=floor((n-1)/2). A
> quorum is any set containing a majority (or more) of servers.
> The basic requirement is that any two quorums must intersect.
>
>
> On Wed, May 29, 2019 at 6:55 PM Patrick Hunt <ph...@apache.org> wrote:
>
> > 2n+1 = ensemble size required to survive n failed zkservers (servers not
> in
> > the quorum)
> >
> > iow: 3 nodes means 1 zkserver can fail and the service is still up. 5 and
> > you can survive 2 failures.
> >
> > Patrick
> >
> > On Wed, May 29, 2019 at 4:43 PM Joel Mestres <jo...@globant.com>
> > wrote:
> >
> > > Hello which is the relation between the number of F failling machines
> > that
> > > the cluster can tolerate and the quorum configuration? F determines the
> > > posibles numbers of quorums? or F can be greater / smaller than quorum
> ?
> > > thanks in advance for your response!
> > >
> > > --
> > >
> > >
> > > The information contained in this e-mail may be confidential. It has
> been
> > > sent for the sole use of the intended recipient(s). If the reader of
> this
> > > message is not an intended recipient, you are hereby notified that any
> > > unauthorized review, use, disclosure, dissemination, distribution or
> > > copying of this communication, or any of its contents, is strictly
> > > prohibited. If you have received it by mistake please let us know by
> > > e-mail
> > > immediately and delete it from your system. Many thanks.
> > >
> > >
> > >
> > > La información
> > > contenida en este mensaje puede ser confidencial. Ha sido enviada para
> el
> > > uso exclusivo del destinatario(s) previsto. Si el lector de este
> mensaje
> > > no
> > > fuera el destinatario previsto, por el presente queda Ud. notificado
> que
> > > cualquier lectura, uso, publicación, diseminación, distribución o
> copiado
> > > de esta comunicación o su contenido está estrictamente prohibido. En
> caso
> > > de que Ud. hubiera recibido este mensaje por error le agradeceremos
> > > notificarnos por e-mail inmediatamente y eliminarlo de su sistema.
> Muchas
> > > gracias.
> > >
> > >
> >
>

-- 


The information contained in this e-mail may be confidential. It has been 
sent for the sole use of the intended recipient(s). If the reader of this 
message is not an intended recipient, you are hereby notified that any 
unauthorized review, use, disclosure, dissemination, distribution or 
copying of this communication, or any of its contents, is strictly 
prohibited. If you have received it by mistake please let us know by e-mail 
immediately and delete it from your system. Many thanks.

 

La información 
contenida en este mensaje puede ser confidencial. Ha sido enviada para el 
uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje no 
fuera el destinatario previsto, por el presente queda Ud. notificado que 
cualquier lectura, uso, publicación, diseminación, distribución o copiado 
de esta comunicación o su contenido está estrictamente prohibido. En caso 
de que Ud. hubiera recibido este mensaje por error le agradeceremos 
notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas 
gracias.


Re: majority of non-failing machines VS quorum

Posted by Alexander Shraer <sh...@gmail.com>.
If you're using "majority quorums" (the default in ZK), F=floor((n-1)/2). A
quorum is any set containing a majority (or more) of servers.
The basic requirement is that any two quorums must intersect.


On Wed, May 29, 2019 at 6:55 PM Patrick Hunt <ph...@apache.org> wrote:

> 2n+1 = ensemble size required to survive n failed zkservers (servers not in
> the quorum)
>
> iow: 3 nodes means 1 zkserver can fail and the service is still up. 5 and
> you can survive 2 failures.
>
> Patrick
>
> On Wed, May 29, 2019 at 4:43 PM Joel Mestres <jo...@globant.com>
> wrote:
>
> > Hello which is the relation between the number of F failling machines
> that
> > the cluster can tolerate and the quorum configuration? F determines the
> > posibles numbers of quorums? or F can be greater / smaller than quorum ?
> > thanks in advance for your response!
> >
> > --
> >
> >
> > The information contained in this e-mail may be confidential. It has been
> > sent for the sole use of the intended recipient(s). If the reader of this
> > message is not an intended recipient, you are hereby notified that any
> > unauthorized review, use, disclosure, dissemination, distribution or
> > copying of this communication, or any of its contents, is strictly
> > prohibited. If you have received it by mistake please let us know by
> > e-mail
> > immediately and delete it from your system. Many thanks.
> >
> >
> >
> > La información
> > contenida en este mensaje puede ser confidencial. Ha sido enviada para el
> > uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje
> > no
> > fuera el destinatario previsto, por el presente queda Ud. notificado que
> > cualquier lectura, uso, publicación, diseminación, distribución o copiado
> > de esta comunicación o su contenido está estrictamente prohibido. En caso
> > de que Ud. hubiera recibido este mensaje por error le agradeceremos
> > notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas
> > gracias.
> >
> >
>

Re: majority of non-failing machines VS quorum

Posted by Patrick Hunt <ph...@apache.org>.
2n+1 = ensemble size required to survive n failed zkservers (servers not in
the quorum)

iow: 3 nodes means 1 zkserver can fail and the service is still up. 5 and
you can survive 2 failures.

Patrick

On Wed, May 29, 2019 at 4:43 PM Joel Mestres <jo...@globant.com>
wrote:

> Hello which is the relation between the number of F failling machines that
> the cluster can tolerate and the quorum configuration? F determines the
> posibles numbers of quorums? or F can be greater / smaller than quorum ?
> thanks in advance for your response!
>
> --
>
>
> The information contained in this e-mail may be confidential. It has been
> sent for the sole use of the intended recipient(s). If the reader of this
> message is not an intended recipient, you are hereby notified that any
> unauthorized review, use, disclosure, dissemination, distribution or
> copying of this communication, or any of its contents, is strictly
> prohibited. If you have received it by mistake please let us know by
> e-mail
> immediately and delete it from your system. Many thanks.
>
>
>
> La información
> contenida en este mensaje puede ser confidencial. Ha sido enviada para el
> uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje
> no
> fuera el destinatario previsto, por el presente queda Ud. notificado que
> cualquier lectura, uso, publicación, diseminación, distribución o copiado
> de esta comunicación o su contenido está estrictamente prohibido. En caso
> de que Ud. hubiera recibido este mensaje por error le agradeceremos
> notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas
> gracias.
>
>

Fwd: majority of non-failing machines VS quorum

Posted by Joel Mestres <jo...@globant.com>.
Hello which is the relation between the number of F failling machines that
the cluster can tolerate and the quorum configuration? F determines the
posibles numbers of quorums? or F can be greater / smaller than quorum ?
thanks in advance for your response!

-- 


The information contained in this e-mail may be confidential. It has been 
sent for the sole use of the intended recipient(s). If the reader of this 
message is not an intended recipient, you are hereby notified that any 
unauthorized review, use, disclosure, dissemination, distribution or 
copying of this communication, or any of its contents, is strictly 
prohibited. If you have received it by mistake please let us know by e-mail 
immediately and delete it from your system. Many thanks.

 

La información 
contenida en este mensaje puede ser confidencial. Ha sido enviada para el 
uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje no 
fuera el destinatario previsto, por el presente queda Ud. notificado que 
cualquier lectura, uso, publicación, diseminación, distribución o copiado 
de esta comunicación o su contenido está estrictamente prohibido. En caso 
de que Ud. hubiera recibido este mensaje por error le agradeceremos 
notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas 
gracias.