Hi, On Mon, 2016-03-07 at 21:55 -0800, Andres Freund wrote: > On 2016-03-08 12:26:34 +0900, Michael Paquier wrote: > > On Tue, Mar 8, 2016 at 12:18 PM, Andres Freund <and...@anarazel.de> wrote: > > > On 2016-03-08 12:01:18 +0900, Michael Paquier wrote: > > >> I have spent a couple of hours looking at that in details, and the > > >> patch is neat. > > > > > > Cool. Doing some more polishing right now. Will be back with an updated > > > version soonish. > > > > > > Did you do some testing? > > > > Not much in details yet, I just ran a check-world with fsync enabled > > for the recovery tests, plus quick manual tests with a cluster > > manually set up. I'll do more with your new version now that I know > > there will be one. > > Here's my updated version. > > Note that I've split the patch into two. One for the infrastructure, and > one for the callsites.
I've repeated the power-loss testing today. With the patches applied I'm not longer able to reproduce the issue (despite trying about 10x), while without them I've hit it on the first try. This is on kernel 4.4.2. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers