Re: Changing the state of data checksums in a running cluster
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Tomas Vondra <tomas@vondra.me>
Cc: Bernd Helmle <mailings@oopsware.de>,
Michael Paquier <michael@paquier.xyz>,
Michael Banck <mbanck@gmx.net>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-08-27T11:00:04Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Use correct datatype for PID
- 0ca1b3010597 19 (unreleased) landed
-
Improve comments in online checksums code
- cd857dec0e0a 19 (unreleased) landed
-
Fix checksum state transition during promotion
- 5fee7cab1b87 19 (unreleased) landed
-
Fix regex searching for page verification failures in tests
- 486b9a9b9eb4 19 (unreleased) landed
-
Apply data-checksum worker throttling parameters
- 9a39056c418c 19 (unreleased) landed
-
Skip WAL for unlogged main fork during online checksum enable
- 2018bd616790 19 (unreleased) landed
-
Revert "Get rid of WALBufMappingLock"
- c13070a27b63 19 (unreleased) cited
-
Get rid of WALBufMappingLock
- bc22dc0e0ddc 18.0 cited
-
Improve grammar of options for command arrays in TAP tests
- ce1b0f9da03e 18.0 cited
Attachments
- v202508272-0001-Online-enabling-and-disabling-of-data-che.patch (application/octet-stream) patch 0001
> On 27 Aug 2025, at 11:39, Tomas Vondra <tomas@vondra.me> wrote: > Just to be clear - I don't see any pg_checksums failures either. I only > see failures in the standby log, and I don't think the script checks > that (it probably should). Right, that's what I'm been checking too. I have been considering adding another background process for monitoring all the log entries but I just thought of a much simpler solution. When the clusters are turned off we can take the opportunity to slurp the log written since last restart and inspect it. The attached adds this. It would probably be good to at some point clean this up a little by placing all of variables for a single node in an associative hash which can be passed around, and place repeated code in subroutines etc.. -- Daniel Gustafsson