Re: snapbuild woes
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@postgresql.org, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Erik Rijkers <er@xs4all.nl>, David Steele <david@pgmasters.net>, Petr Jelinek <petr.jelinek@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, Craig Ringer <craig@2ndquadrant.com>, pgsql-hackers-owner@postgresql.org
Date: 2017-05-12T01:31:27Z
Lists: pgsql-hackers
Attachments
- another-approach.diff (text/x-diff) patch
On 2017-05-11 14:54:26 -0700, Andres Freund wrote: > On 2017-05-11 14:51:55 -0700, wrote: > > On 2017-05-08 00:10:12 -0700, Andres Freund wrote: > > > I plan to commit the next pending patch after the back branch releases > > > are cut - it's an invasive fix and the issue doesn't cause corruption > > > "just" slow slot creation. So it seems better to wait for a few days, > > > rather than hurry it into the release. > > > > Now that that's done, here's an updated version of that patch. Note the > > new logic to trigger xl_running_xact's to be logged at the right spot. > > Works well in my testing. > > > > I plan to commit this fairly soon, unless somebody wants a bit more time > > to look into it. > > > > Unless somebody protests, I'd like to slightly revise how the on-disk > > snapshots are stored on master - given the issues this bug/commit showed > > with the current method - but I can see one could argue that that should > > rather be done next release. > > As usual I forgot my attachement. This patch also seems to offer a way to do your 0005 in, possibly, more efficient manner. We don't ever need to assume a transaction is timetravelling anymore. Could you check whether the attached, hasty, patch resolves the performance problems you measured? Also, do you have a "reference" workload for that? Regards, Andres
Commits
-
Fix thinko introduced in 2bef06d516460 et al.
- d68742562ca4 9.4.13 landed
- 869a5869e5ba 9.5.8 landed
- 32d7480e02ee 9.6.4 landed
- 5af4456a5647 10.0 landed
-
Avoid superfluous work for commits during logical slot creation.
- fa9207c7415c 9.5.8 landed
- bd619fcfe046 9.6.4 landed
- 524dbc14335c 10.0 landed
- 2dca50b764d4 9.4.13 landed
-
Fix race condition leading to hanging logical slot creation.
- b64a68e3680a 9.5.8 landed
- 955a684e0401 10.0 landed
- 79abd23db1e9 9.4.13 landed
- 75784859cda2 9.6.4 landed
-
Don't use on-disk snapshots for exported logical decoding snapshot.
- b6ecf26ccc2b 9.4.12 landed
- 54270d7ebcdc 9.5.7 landed
- 29e8c881dd07 9.6.3 landed
- 56e19d938dd1 10.0 landed
-
Preserve required !catalog tuples while computing initial decoding snapshot.
- 5da64613875d 9.4.12 landed
- 47f896b5c2ec 9.5.7 landed
- 2bef06d51646 10.0 landed
- 28afff347a5d 9.6.3 landed