Re: test: avoid redundant standby catchup in 049_wait_for_lsn - Mailing list pgsql-hackers

From Jobin Augustine
Subject Re: test: avoid redundant standby catchup in 049_wait_for_lsn
Date
Msg-id CAEpZXfcVOp8P6-TTT1Rv1TSPq3sgtJQ3ZozssXZxboA-7CpNog@mail.gmail.com
Whole thread
In response to Re: test: avoid redundant standby catchup in 049_wait_for_lsn  (Xuneng Zhou <xunengzhou@gmail.com>)
List pgsql-hackers
Hi Xuneng

Thanks. I had a general idea via your description and I'd like to know more about the use case. Please share it if you are ok with that.


I am more than happy to share. The Rust program is pushed to my git repo and path : https://github.com/jobinau/pgscripts/tree/main/patroni/connection/waitforlsn
There is a "repro" subdirectory with a file with instructions : REPRODUCE_WITH_WAITFORLSN.md please follow that for quick reproduction.
Basically the program has a function `normalize_insert_lsn`which implements the client side fix. But passing a parameter `--raw-insert-lsn` to the program disables this client side manipulation.
Thank you,
Jobin.

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Server crash when describing a FETCH statement after its cursor is closed
Next
From: Zhijie Hou
Date:
Subject: Re: Fix apply worker crash when subscriber table has only a deferrable primary key