Re: pg_rewind with cascade standby doesn't work well

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: Kuwamura Masaki <kuwamura(at)db(dot)is(dot)i(dot)nagoya-u(dot)ac(dot)jp>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pg_rewind with cascade standby doesn't work well
Date: 2023-09-11 16:04:30
Message-ID: CAJ7c6TPhQ-eGpXgwGYs_+Nouo99Fur1rgwWGujLgwkyeaUrdcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> The attached patch updates minRecoveryPoint and minRecoveryPointTLI at this point by mimicking CreateEndOfRecoveryRecord().
> With this patch, you can run pg_rewind with cascade standby immediately. (without waiting for checkpointing)

Many thanks for submitting the patch. I added it to the nearest open
commitfest [1].

IMO a test is needed that makes sure no one is going to break this in
the future.

[1]: https://commitfest.postgresql.org/45/4559/

--
Best regards,
Aleksander Alekseev

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Isaac Morland 2023-09-11 16:15:29 Re: Possibility to disable `ALTER SYSTEM`
Previous Message Gabriele Bartolini 2023-09-11 15:56:01 Re: Possibility to disable `ALTER SYSTEM`