[pgpool-general: 3064] Re: Failover - new primary selection process?

Guy Meler melguy at gmail.com
Sun Jul 27 21:13:31 JST 2014


Hey jay, thank you for the replay.
Is this is a formal conclusion? Maybe the oldest is the one with the
smaller ID ?



On Sun, Jul 27, 2014 at 2:50 PM, <jayknowsunix at gmail.com> wrote:

> Guy,
>
> I run a master with 2 slaves. During a failover, I always see the oldest
> slave promoted to master. So, the selection is based on the server which
> has been running longer.
>
> --
> Jay
>
> Sent from my iPad
>
> > On Jul 27, 2014, at 3:48 AM, Guy Meler <melguy at gmail.com> wrote:
> >
> > Hey :)
> > In master/slave mode, what is the algorithm for choosing the next
> available primary backend?
> > I want to make sure that if primary in site A goes down, than the next
> available primary is in the same site.
> >
> > Thank you
> >
> > _______________________________________________
> > pgpool-general mailing list
> > pgpool-general at pgpool.net
> > http://www.pgpool.net/mailman/listinfo/pgpool-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20140727/253e2bb1/attachment.html>


More information about the pgpool-general mailing list