git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 56b30e2) | patch
amcheck: Distinguish interrupted page deletion from corruption.
2023年10月30日 21:46:05 +0000 (14:46 -0700)
2023年10月30日 21:46:05 +0000 (14:46 -0700)
commit 6ec9e9975eff5260651d84ed8bcfd8ecb08e5fbb
amcheck: Distinguish interrupted page deletion from corruption.

This prevents false-positive reports about "the first child of leftmost
target page is not leftmost of its level", "block %u is not leftmost"
and "left link/right link pair". They appeared if amcheck ran before
VACUUM cleaned things, after a cluster exited recovery between the
first-stage and second-stage WAL records of a deletion. Back-patch to
v11 (all supported versions).

Reviewed by Peter Geoghegan.

Discussion: https://postgr.es/m/20231005025232.c7.nmisch@google.com
contrib/amcheck/Makefile diff | blob | blame | history
contrib/amcheck/meson.build diff | blob | blame | history
contrib/amcheck/t/005_pitr.pl [new file with mode: 0644] blob
contrib/amcheck/verify_nbtree.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /