Re: Changing the state of data checksums in a running cluster
Tomas Vondra <tomas@vondra.me>
From: Tomas Vondra <tomas@vondra.me>
To: Michael Paquier <michael@paquier.xyz>
Cc: Daniel Gustafsson <daniel@yesql.se>, Michael Banck <mbanck@gmx.net>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-10T09:46:32Z
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
- v20250310c-0001-Online-enabling-and-disabling-of-data-che.patch (text/x-patch) patch 0001
- v20250310c-0002-simple-post-rebase-fixes.patch (text/x-patch) patch 0002
- v20250310c-0003-sync-the-data_checksums-GUC-with-the-loca.patch (text/x-patch) patch 0003
- v20250310c-0004-make-progress-reporting-work.patch (text/x-patch) patch 0004
- v20250310c-0005-update-docs.patch (text/x-patch) patch 0005
On 3/10/25 01:18, Tomas Vondra wrote: > > ... > > There's still a failure on windows, though. I'd bet that's due to the > data_checksum/LocalDatachecksumVersion sync not working correctly on > builds with EXEC_BACKEND, or something like that, but it's too late so > I'll take a closer look tomorrow. > Just like I suspected, there was a bug in EXEC_BACKEND, although a bit different from what I guessed - the worker state in shmem was zeroed every time, not just once. And a second issue was child_process_kinds got out of sync with BackendType (mea culpa). For me, this passes all CI tests, hopefully cfbot will be happy too. regards -- Tomas Vondra