Re: Online enabling of checksums
x4mmm@yandex-team.ru
From: Andrey Borodin <x4mmm@yandex-team.ru>
To: Magnus Hagander <magnus@hagander.net>
Cc: Daniel Gustafsson <daniel@yesql.se>,
Michael Banck <michael.banck@credativ.de>,
Tomas Vondra <tomas.vondra@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>,
Greg Stark <stark@mit.edu>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-03-19T12:08:02Z
Lists: pgsql-hackers
Hi Magnus! > 19 марта 2018 г., в 16:57, Magnus Hagander <magnus@hagander.net> написал(а): > > On Mon, Mar 19, 2018 at 12:24 PM, Magnus Hagander <magnus@hagander.net <mailto:magnus@hagander.net>> wrote: > On Mon, Mar 19, 2018 at 11:40 AM, Andrey Borodin <x4mmm@yandex-team.ru <mailto:x4mmm@yandex-team.ru>> wrote: > Hi, Daniel! > If we commit online checksums before SLRU checksums, we will need very neat hacks if we decide to protect SLRU eventually. > > What do you think about this problem? > > One would be adjusted to work with the other, yes. It makes no sense to now allow online enabling once SLRU protection is in there, and it doesn't make sense for either of these patches to be blocking the other one for commit, though it would of course be best to get both included. > > > Makes no sense to *not* allow it, of course. Meaning yes, that should be handled. > > We don' t need to convert from "page format with no support for checksums" (pre-11) to "page format with support for checksums" (11+) online. > > We do need to convert from "page format with support for checksums but no checksums enabled" (11+) to "checksums enabled" online. Oh, yes, you are right. Everything is fine, sorry for the noise. Best regards, Andrey Borodin.
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