Re: Online enabling of checksums

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Michael Banck <michael(dot)banck(at)credativ(dot)de>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Greg Stark <stark(at)mit(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Online enabling of checksums
Date: 2018-03-19 12:08:02
Message-ID: 7842B7B5-3EDD-4171-8357-7F14BF4325F9@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Magnus!

> 19 марта 2018 г., в 16:57, Magnus Hagander <magnus(at)hagander(dot)net> написал(а):
>
> On Mon, Mar 19, 2018 at 12:24 PM, Magnus Hagander <magnus(at)hagander(dot)net <mailto:magnus(at)hagander(dot)net>> wrote:
> On Mon, Mar 19, 2018 at 11:40 AM, Andrey Borodin <x4mmm(at)yandex-team(dot)ru <mailto:x4mmm(at)yandex-team(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ildus Kurbangaliev 2018-03-19 12:38:39 Re: [PROPOSAL] Shared Ispell dictionaries
Previous Message Magnus Hagander 2018-03-19 11:57:42 Re: Online enabling of checksums