Re: Introduce XID age and inactive timeout based replication slot invalidation
От
Bertrand Drouvot
Тема
Re: Introduce XID age and inactive timeout based replication slot invalidation
Дата
Msg-id
ZfgG7cwTywMH3jPC@ip-10-97-1-34.eu-west-3.compute.internal
Ответ на
Re: Introduce XID age and inactive timeout based replication slot invalidation (Bharath Rupireddy)
Список
Дерево обсуждения
Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Dilip Kumar <dilipbalaut@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Nathan Bossart <nathandbossart@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Nathan Bossart <nathandbossart@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Nathan Bossart <nathandbossart@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Michael Paquier <michael@paquier.xyz>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Nathan Bossart <nathandbossart@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Ajin Cherian <itsajin@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Nathan Bossart <nathandbossart@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Ajin Cherian <itsajin@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Nathan Bossart <nathandbossart@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation shveta malik <shveta.malik@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Amit Kapila <amit.kapila16@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Introduce XID age and inactive timeout based replication slot invalidation Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Hi, On Sat, Mar 16, 2024 at 09:29:01AM +0530, Bharath Rupireddy wrote: > I've also responded to Bertrand's comments here. Thanks! > > On Wed, Mar 6, 2024 at 3:56 PM Bertrand Drouvot > wrote: > > > > 5 === > > > > -# Check conflict_reason is NULL for physical slot > > +# Check invalidation_reason is NULL for physical slot > > $res = $node_primary->safe_psql( > > 'postgres', qq[ > > - SELECT conflict_reason is null FROM pg_replication_slots where slot_name = '$primary_slotname';] > > + SELECT invalidation_reason is null FROM pg_replication_slots where slot_name = '$primary_slotname';] > > ); > > > > > > I don't think this test is needed anymore: it does not make that much sense since > > it's done after the primary database initialization and startup. > > It is now turned into a test verifying 'conflicting boolean' is null > for the physical slot. Isn't that okay? Yeah makes more sense now, thanks! Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления
От: Bertrand Drouvot
Дата:
От: Alvaro Herrera
Дата: