Re: Remove non-fast promotion Re: Should we remove a fallback promotion? take 2
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: masao.fujii@oss.nttdata.com
Cc: andres@anarazel.de, alvherre@2ndquadrant.com, michael@paquier.xyz,
robertmhaas@gmail.com, pgsql-hackers@lists.postgresql.org
Date: 2020-04-21T08:15:31Z
Lists: pgsql-hackers
At Mon, 20 Apr 2020 15:26:16 +0900, Fujii Masao <masao.fujii@oss.nttdata.com> wrote in > Patch attached. I will add this into the first CF for v14. - if (!fast_promoted) + if (!promoted) RequestCheckpoint(CHECKPOINT_END_OF_RECOVERY | CHECKPOINT_IMMEDIATE | CHECKPOINT_WAIT); If we don't find the checkpoint record just before, we don't insert End-Of-Recovery record then run an immediate chekpoint. I think if we nuke the non-fast promotion, shouldn't we insert the EOR record even in that case? Or, as Andres suggested upthread, do we always insert it? regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Remove non-fast promotion.
- b5310e4ff6b7 14.0 landed