Re: Offline enabling/disabling of data checksums - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Offline enabling/disabling of data checksums
Date
Msg-id 20190319153626.vgxcem5r65yhydck@alap3.anarazel.de
Whole thread Raw
In response to Re: Offline enabling/disabling of data checksums  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Offline enabling/disabling of data checksums
List pgsql-hackers
Hi,

On 2019-03-18 17:13:01 +0900, Michael Paquier wrote:
> +/*
> + * Locations of persistent and temporary control files.  The control
> + * file gets renamed into a temporary location when enabling checksums
> + * to prevent a parallel startup of Postgres.
> + */
> +#define CONTROL_FILE_PATH        "global/pg_control"
> +#define CONTROL_FILE_PATH_TEMP    CONTROL_FILE_PATH ".pg_checksums_in_progress"

I think this should be outright rejected. Again, you're making the
control file into something it isn't. And there's no buyin for this as
far as I can tell outside of Fabien and you. For crying out loud, if the
server crashes during this YOU'VE CORRUPTED THE CLUSTER.

- Andres


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: BUG #15572: Misleading message reported by "Drop function operation"on DB with functions having same name
Next
From: Peter Eisentraut
Date:
Subject: Re: Speed up transaction completion faster after many relations areaccessed in a transaction