Re: Changes to recovery_min_apply_delay are ignored while waiting for delay
Soumyadeep Chakraborty <soumyadeep2007@gmail.com>
From: Soumyadeep Chakraborty <soumyadeep2007@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, ashwinstar@gmail.com
Date: 2021-08-03T07:06:34Z
Lists: pgsql-hackers
Attachments
- v2-0001-Refresh-delayUntil-in-recovery-delay-loop.patch (text/x-patch) patch v2-0001
Hi Kyotaro,
Thanks for the review!
On Mon, Aug 2, 2021 at 11:42 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
> One comment from me.
>
> +$node_standby->safe_psql('postgres', "ALTER SYSTEM SET recovery_min_apply_delay TO 0;");
>
> It might be better do "SET reco.. TO DEFAULT" instead.
>
Sure.
> And how about adding the new test at the end of existing tests. We can
> get rid of the extra lines in the diff.
No problem. See attached v2. I didn't do that initially as the test file
looks as though it is split into two halves: one for testing
recovery_min_apply_delay and the other for testing recovery pause. So while
making this change, I added a header comment for the newly added test case.
Please take a look.
Regards,
Soumyadeep (VMware)
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Refresh apply delay on reload of recovery_min_apply_delay at recovery
- 942416f4bdb0 9.6.24 landed
- 024fd44e0566 10.19 landed
- d392e86fa9c4 11.14 landed
- 84c1bac579db 12.9 landed
- 7f0873f328ef 13.5 landed
- f83d80ea1e57 14.0 landed
- e4ba1005c0f7 15.0 landed