public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sacheen Birhade <[email protected]>
To: [email protected] <[email protected]>
Subject: How to choose new master from slaves.
Date: Thu, 4 Aug 2022 07:33:00 +0000
Message-ID: <MW4PR20MB4525A0AEC2F749ED7ACA9710F39F9@MW4PR20MB4525.namprd20.prod.outlook.com> (raw)
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?
Thanks,
Sacheen Birhade
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: How to choose new master from slaves.
In-Reply-To: <MW4PR20MB4525A0AEC2F749ED7ACA9710F39F9@MW4PR20MB4525.namprd20.prod.outlook.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox