Re: Online enabling of checksums
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, Daniel Gustafsson <daniel@yesql.se>, Robert Haas <robertmhaas@gmail.com>, Magnus Hagander <magnus@hagander.net>, Andrey Borodin <x4mmm@yandex-team.ru>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, Heikki Linnakangas <hlinnaka@iki.fi>, Michael Banck <michael.banck@credativ.de>, Greg Stark <stark@mit.edu>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-08-01T16:36:13Z
Lists: pgsql-hackers
On Tue, Jul 31, 2018 at 04:05:23PM -0700, Andres Freund wrote: > Hi, > > On 2018-07-31 18:56:29 -0400, Alvaro Herrera wrote: > > In the spirit of supporting incremental development, I think it's quite > > sensible to get the current thing done, then see what it takes to get > > the next thing done. Each is an improvement on its own merits. And it > > doesn't have to be made by the same people. > > I just don't buy this. An earlier version of this feature was committed > to v11 without the restart, over objections. There's now extra state in > the control file to support the restart based system, there's extra > tests, extra docs. And it'd not be much code to just make it work > without the restart. The process around this patchset is just plain > weird. ---------------------------------------------- ----- This patchset is weird because it is perhaps our first case of trying to change the state of the server while it is running. We just don't have an established protocol for how to orchestrate that, so we are limping along toward a solution. Forcing a restart is probably part of that primitive orchestration. We will probably have similar challenges if we ever allowed Postgres to change its data format on the fly. These challenges are one reason pg_upgrade only modifies the new cluster, never the old one. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +
Commits
-
Online enabling and disabling of data checksums
- f19c0eccae96 19 (unreleased) landed
-
Deactive flapping checksum isolation tests.
- bf75fe47e444 11.0 landed
-
Add support for coordinating record typmods among parallel workers.
- cc5f81366c36 11.0 cited