Re: How to choose new master from slaves.?

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to choose new master from slaves.?
Date: 2022-08-04 10:22:52
Message-ID: 4f65670a-443a-7e35-3b44-88a874b402b0@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/4/22 02:43, Sacheen Birhade wrote:
>
> Hi All,
>
> I have a very basic question about streaming replication feature of Postgres.
>
> Let’s assume I have servers A, B, C, D, & E with postgres installed with
> streaming replication as follow:
>
> A à B ( sync replication )
>
> A à C ( async replication )
>
> A à D ( async replication )
>
> A à E ( async replication )
>
> A is master & rest are slaves.
>
> Now my question is:
>
> Assume replication link between A & B may/may not stable.  If A goes down,
> how will I choose my new master from slaves? What are criteria to choose
> new master?
>

By "link between A & B may/may not stable", do you mean that B might not
actually be synchronized?

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2022-08-04 10:32:32 Re: Behavior of identity columns
Previous Message Danny Shemesh 2022-08-04 09:59:42 Index only scans for expressional indices when querying for the expression