Failure at replay for corrupted 2PC files + reduce window between end-of-recovery record and history file write

Edit
ID 922
Title Failure at replay for corrupted 2PC files + reduce window between end-of-recovery record and history file write
Topic Bug Fixes
Created 2016-12-20 07:55:47
Last modified 2018-07-09 01:31:13 (6 years, 5 months ago)
Latest email 2018-07-09 01:29:55 (6 years, 5 months ago)
Status
2018-07: Committed
2018-03: Moved to next CF
2018-01: Moved to next CF
2017-11: Moved to next CF
2017-09: Moved to next CF
2017-03: Moved to next CF
2017-01: Moved to next CF
Target version
Authors Heikki Linnakangas (heikki), Michael Paquier (michael-kun)
Reviewers Alexander Korotkov (smagen), Takayuki Tsunakawa (maumau)Become reviewer
Committer Michael Paquier (michael-kun)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/922
git checkout commitfest/cf/922
Emails
Crash on promotion when recovery.conf is renamed
First at 2016-12-15 08:44:15 by Magnus Hagander <magnus at hagander.net>
Latest at 2018-07-09 01:29:55 by Michael Paquier <michael at paquier.xyz>
Latest attachment (0001-Fail-hard-when-facing-corrupted-two-phase-state-file.patch) at 2018-06-28 05:39:15 from Michael Paquier <michael at paquier.xyz>
    Attachment (0001-Fail-hard-when-facing-corrupted-two-phase-state-file.patch) at 2018-06-28 05:39:15 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (0001-Change-detection-of-corrupted-2PC-files-as-FATAL.patch) at 2017-10-02 06:29:28 from Michael Paquier <michael.paquier at gmail.com> (Patch: Yes)
    Attachment (0002-Minimize-window-between-history-file-and-end-of-reco.patch) at 2017-09-02 12:17:11 from Michael Paquier <michael.paquier at gmail.com> (Patch: Yes)
    Attachment (0001-Change-detection-of-corrupted-2PC-files-as-FATAL.patch) at 2017-03-28 05:10:25 from Michael Paquier <michael.paquier at gmail.com> (Patch: Yes)
    Attachment (0001-Change-detection-of-corrupted-2PC-files-as-FATAL.patch) at 2017-03-28 02:52:05 from Michael Paquier <michael.paquier at gmail.com> (Patch: Yes)
    Attachment (0002-Minimize-window-between-history-file-and-end-of-reco.patch) at 2016-12-20 07:54:34 from Michael Paquier <michael.paquier at gmail.com> (Patch: Yes)
    Attachment (reorder-end-of-archive-recovery-actions-1.patch) at 2016-12-15 09:25:10 from Heikki Linnakangas <hlinnaka at iki.fi> (Patch: Yes)
History
When Who What
2018-07-09 01:31:13 Michael Paquier (michael-kun) Closed in commitfest 2018-07 with status: Committed
2018-07-09 01:31:13 Michael Paquier (michael-kun) Changed committer to michael-kun
2018-07-02 00:36:52 Michael Paquier (michael-kun) New status: Needs review
2018-04-10 18:17:41 David Steele (dsteele) Closed in commitfest 2018-03 with status: Moved to next CF
2018-02-06 21:52:45 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2018-01 with status: Moved to next CF
2017-11-27 06:59:46 Michael Paquier (michael-kun) Closed in commitfest 2017-11 with status: Moved to next CF
2017-10-02 06:30:04 Michael Paquier (michael-kun) New status: Ready for Committer
2017-10-02 06:29:51 Michael Paquier (michael-kun) New status: Needs review
2017-10-01 23:14:30 Daniel Gustafsson (d_gustafsson) New status: Waiting on Author
2017-10-01 23:14:13 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2017-09 with status: Moved to next CF
2017-04-08 14:03:48 David Steele (dsteele) Closed in commitfest 2017-03 with status: Moved to next CF
2017-03-28 05:19:16 Takayuki Tsunakawa (maumau) New status: Ready for Committer
2017-03-27 08:27:10 Takayuki Tsunakawa (maumau) New status: Waiting on Author
2017-03-13 04:24:52 Takayuki Tsunakawa (maumau) Added maumau as reviewer
2017-03-10 14:05:07 Alexander Korotkov (smagen) Added smagen as reviewer
2017-01-31 04:26:25 Michael Paquier (michael-kun) Closed in commitfest 2017-01 with status: Moved to next CF
2016-12-20 07:55:59 Michael Paquier (michael-kun) Changed authors to Heikki Linnakangas (heikki), Michael Paquier (michael-kun)
2016-12-20 07:55:47 Michael Paquier (michael-kun) Attached mail thread CABUevEz09XY2EevA2dLjPCY-C5UO4Hq=XxmXLmF6ipNFecbShQ@mail.gmail.com
2016-12-20 07:55:47 Michael Paquier (michael-kun) Created patch record
Edit