Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed
Date: 2024-06-10 06:39:34
Message-ID: Zmafpgt20f5EOGyR@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 10, 2024 at 06:29:17AM +0000, Bertrand Drouvot wrote:
> Thanks for the report! I think it makes sense to add it to the list of known
> failures.
>
> One way to deal with those corner cases could be to make use of injection points
> around places where RUNNING_XACTS is emitted, thoughts?

Ah. You mean to force a wait in the code path generating the standby
snapshots for the sake of this test? That's interesting, I like it.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amul Sul 2024-06-10 06:54:04 Re: Logical Replication of sequences
Previous Message Bertrand Drouvot 2024-06-10 06:29:17 Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed