Re: Recent 027_streaming_regress.pl hangs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Recent 027_streaming_regress.pl hangs
Date
Msg-id 683543.1723483264@sss.pgh.pa.us
Whole thread Raw
In response to Re: Recent 027_streaming_regress.pl hangs  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 2024-08-11 Su 8:32 PM, Tom Lane wrote:
>> I think we need more data.  We know that the
>> wait_for_catchup query is never getting to true:
>> 
>> SELECT '$target_lsn' <= ${mode}_lsn AND state = 'streaming'
>> 
>> but we don't know if the LSN condition or the state condition is
>> what is failing.  And if it is the LSN condition, it'd be good
>> to see the actual last LSN, so we can look for patterns like
>> whether there is a page boundary crossing involved.  So I suggest
>> adding something like the attached.

> Seems reasonable.

Pushed.  In the event I made it just "SELECT * FROM" the relevant
view: there will be few if any rows that aren't potentially
interesting, and filtering the columns doesn't seem like a
forward-looking idea either.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [patch] Imporve pqmq
Next
From: Doruk Yilmaz
Date:
Subject: [Patch] add new parameter to pg_replication_origin_session_setup