Re: Changing the state of data checksums in a running cluster

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Tomas Vondra <tomas(at)vondra(dot)me>, Andres Freund <andres(at)anarazel(dot)de>, Bernd Helmle <mailings(at)oopsware(dot)de>, Michael Paquier <michael(at)paquier(dot)xyz>, Michael Banck <mbanck(at)gmx(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Changing the state of data checksums in a running cluster
Date: 2026-04-01 23:01:49
Message-ID: A65FA3A1-A5B6-44E6-B726-2A7D3692B1A6@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached is another rebase which adds a note on checksum failure logging for
buffers with ZERO_ON_ERROR, which - apart from being useful information to have
for the user investigating a failure - allows the tests to differentiate
between false positives due to the VM buffer issues discussed in [1].

This patch has now undergone a nontrivial amount of review and testing, have
addressed all review comments and have had no architectural changes in quite
some time. It builds green on CI, and assuming this attached patch also builds
green in CFBot - and no concerns are raised here - I intend to commit this
wihin the next few days ahead of the freeze. The more expensive tests which
are currently enabled will again be moved under PG_TEST_EXTRA to accommodate
for slower machines present in the buildfarm.

--
Daniel Gustafsson

[1] https://postgr.es/m/CAAKRu_bn+e7F4yPFBgFbnP+syJRKyNK092bjD2LKvZW7O4Svag@mail.gmail.com

Attachment Content-Type Size
v20260402-0001-Online-enabling-and-disabling-of-data-chec.patch application/octet-stream 225.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2026-04-01 23:04:36 Re: Add pg_stat_autovacuum_priority
Previous Message Jacob Champion 2026-04-01 22:59:24 Re: [oauth] Split and extend PGOAUTHDEBUG