Re: PANIC during crash recovery of a recently promoted standby
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: pavan.deolasee@gmail.com, alvherre@2ndquadrant.com, pgsql-hackers@postgresql.org
Date: 2018-06-27T08:29:38Z
Lists: pgsql-hackers
Attachments
- promote-panic-96.patch (text/x-diff) patch
- promote-panic-10.patch (text/x-diff) patch
- promote-panic-master.patch (text/x-diff) patch
- promote-panic-95.patch (text/x-diff) patch
- promote-panic-94.patch (text/x-diff) patch
- promote-panic-93.patch (text/x-diff) patch
On Fri, Jun 22, 2018 at 03:25:48PM +0900, Michael Paquier wrote: > On Fri, Jun 22, 2018 at 02:34:02PM +0900, Kyotaro HORIGUCHI wrote: >> Hello, sorry for the absense and I looked the second patch. > > Thanks for the review! I have been spending some time testing and torturing the patch for all stable branches, and I have finished with the set of patches attached. My testing has involved using the TAP suite, where I have actually, and roughly backported the infrastructure in v10 down to older versions, which has required to tweak Makefile.global.in and finding out again that pg_ctl start has switched to the wait mode by default in 10. I have spent a bit of time testing this on HEAD, 10 and 9.6. For 9.5, 9.4 and 9.3 I have reproduced the failure and tested the patch, but I lacked time to perform more tests. The patch set for 9.3~9.5 applies without conflict across the 3 branches. 9.6 has a conflict in a comment, and v10 had an extra comment conflict. Feel free to have a look, I am not completely done with this stuff and I'll work more tomorrow on checking 9.3~9.5. -- Michael
Commits
-
Prevent references to invalid relation pages after fresh promotion
- 56535dcdc9e2 9.3.24 landed
- f352f43d3f10 9.4.19 landed
- 23eef5cd7ffc 9.5.14 landed
- 8d68ee6f31ca 9.6.10 landed
- 6716f2f96256 10.5 landed
- 9a1bd8271172 11.0 landed
- 3c64dcb1e35d 12.0 landed