public inbox for [email protected]
help / color / mirror / Atom feedFrom: Julien Rouhaud <[email protected]>
To: RKN Sai Krishna <[email protected]>
Cc: [email protected]
Subject: Re: Query regarding replication slots
Date: Tue, 11 Jan 2022 19:37:47 +0800
Message-ID: <20220111113747.7mk4stfbxo4zobqc@jrouhaud> (raw)
In-Reply-To: <CAMVpbFMt=jb+Krk2AWUh3+YQYOSEfTD0D+vhhNGK7f2Vz4_edA@mail.gmail.com>
References: <CAMVpbFMt=jb+Krk2AWUh3+YQYOSEfTD0D+vhhNGK7f2Vz4_edA@mail.gmail.com>
On Tue, Jan 11, 2022 at 04:48:59PM +0530, RKN Sai Krishna wrote:
> Hi All,
>
> I have a very basic question related to replication slots. Why should
> the master/primary server maintain the replication slot info like lsn
> corresponding to each standby server etc. Instead, why can't each
> standby server send the lsn that it needs, and master/primary server
> maintain the minimum lsn across all of the standby servers so that the
> information could be used for cleanup/removal of WAL segments?
Because the information is needed even if the standby servers are not
available, and if you only have a global xmin then you can't do much when
removing one of the slots.
view thread (2+ messages) latest in thread
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], [email protected], [email protected]
Subject: Re: Query regarding replication slots
In-Reply-To: <20220111113747.7mk4stfbxo4zobqc@jrouhaud>
* 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