Re: pause recovery if pitr target not reached
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: leif@lako.no, michael@paquier.xyz, masao.fujii@gmail.com,
pgsql-hackers@postgresql.org
Date: 2020-01-27T11:16:02Z
Lists: pgsql-hackers
Attachments
- v6-0001-Fail-if-recovery-target-is-not-reached.patch (text/plain) patch v6-0001
On 2020-01-15 05:02, Kyotaro Horiguchi wrote: > FWIW, I restate this (perhaps) more clearly. > > At Wed, 15 Jan 2020 11:02:24 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in >> recvoery_target_* is not cleared after startup. If a server crashed >> just after the last shutdown checkpoint, any recovery_target_* setting >> prevents the server from starting regardless of its value. > > recvoery_target_* is not automatically cleared after a successful > archive recovery. After that, if the server crashed just after the > last shutdown checkpoint, any recovery_target_* setting prevents the > server from starting regardless of its value. Thank you for this clarification. Here is a new patch that addresses that and also the other comments raised about my previous patch. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Fail if recovery target is not reached
- dc788668bb26 13.0 landed