Data checksums online enable
Enabling and disabling data checksums in a running cluster via a launcher and worker with a progress view; committed for PostgreSQL 19, reverted before release.
Versions
- PostgreSQL 20 · worked-on · improved · major
- PostgreSQL 19 · reverted · improved · major · 17 commits · +587 / -348 lines
- PostgreSQL 18 · worked-on · improved · major
Threads
- allow spread checkpoints when changing checksums online
- Changing the state of data checksums in a running cluster
- Offline data checksum changes can cause incorrect checksum state on standbys
- Stabilize and shorten test_checksums/013_rewind test
- pgsql: Revert online data checksum transitions
- Trying to break online checksums with LLMs
- Online enable/disable data checksums functions return success even when the launcher fails to start
- datachecksums: handle invalid and dropped databases during enable
- pg_control_checkpoint(): add "data_checksum_version" (Pg19)?
- basebackup: do not verify checksums on pages written before enabling checksums
- Clarify or fix SIGINT handling in data checksums launcher
- data_checksums + debug_discard_caches = crash
- Fix data checksum progress reporting docs
- Race between datachecksum enablement and create table with the file_copy strategy
- Allow wal_log_hints to be changed without restart
- Restrict data checksums entries in pg_stat_io
- Fix data checksum processing for temp relations and dropped databases
- Fix pg_stat_progress_data_checksums counter initialization
- Little checksum worker cleanups
- DataChecksumsStateStruct cost_delay fields and locking
- Unexpected message truncation in WaitForAllTransactionsToFinish
- pg_checksums docs mentioning online functions
- [BUG] Race in online checksums launcher_exit()
- DOCS: Update data_checksums documentation to reflect enum change
- Online checksums patch - once again
- global / super barriers (for checksums)
- Online enabling of checksums
- BGWORKER_BYPASS_ALLOWCONN used nowhere (infra part of on-line checksum switcher)
- pgsql: Revert "Allow on-line enabling and disabling of data checksums"
- Allow workers to override datallowconn