pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix various checksum check problems for pg_verify_checksums and 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix various checksum check problems for pg_verify_checksums and @ 2018-11-30 01:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2018-11-30 01:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix various checksum check problems for pg_verify_checksums and base backups Three issues are fixed in this patch: - Base backups forgot to ignore files specific to EXEC_BACKEND, leading to spurious warnings when checksums are enabled, per analysis from me. - pg_verify_checksums forgot about files specific to EXEC_BACKEND, leading to failures of the tool on any such build, particularly Windows. This error was originally found by newly-introduced TAP tests in various buildfarm members using EXEC_BACKEND. - pg_verify_checksums forgot to count for temporary files and temporary paths, which could be valid relation files, without checksums, per report from Andres Freund. More tests are added to cover this case. A new test case which emulates corruption for a file in a different tablespace is added, coming from from Michael Banck, while I have coded the main code and refactored the test code. Author: Michael Banck, Michael Paquier Reviewed-by: Stephen Frost, David Steele Discussion: https://postgr.es/m/20181021134206.GA14282@paquier.xyz Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/19516afdf167aeaf9e95edf7c5a105bb16f8914c Modified Files -------------- src/backend/replication/basebackup.c | 7 +++++ src/bin/pg_verify_checksums/pg_verify_checksums.c | 33 +++++++++++++++++++---- 2 files changed, 35 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix various checksum check problems for pg_verify_checksums and @ 2018-11-30 01:36 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 2+ messages in thread From: Michael Paquier @ 2018-11-30 01:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix various checksum check problems for pg_verify_checksums and base backups Three issues are fixed in this patch: - Base backups forgot to ignore files specific to EXEC_BACKEND, leading to spurious warnings when checksums are enabled, per analysis from me. - pg_verify_checksums forgot about files specific to EXEC_BACKEND, leading to failures of the tool on any such build, particularly Windows. This error was originally found by newly-introduced TAP tests in various buildfarm members using EXEC_BACKEND. - pg_verify_checksums forgot to count for temporary files and temporary paths, which could be valid relation files, without checksums, per report from Andres Freund. More tests are added to cover this case. A new test case which emulates corruption for a file in a different tablespace is added, coming from from Michael Banck, while I have coded the main code and refactored the test code. Author: Michael Banck, Michael Paquier Reviewed-by: Stephen Frost, David Steele Discussion: https://postgr.es/m/20181021134206.GA14282@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5c995139752f5d57c560a0708286b99f9ca2bddd Modified Files -------------- src/backend/replication/basebackup.c | 7 ++ src/bin/pg_verify_checksums/pg_verify_checksums.c | 33 +++++- src/bin/pg_verify_checksums/t/002_actions.pl | 127 +++++++++++++++------- 3 files changed, 121 insertions(+), 46 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-11-30 01:36 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-11-30 01:36 pgsql: Fix various checksum check problems for pg_verify_checksums and Michael Paquier <michael@paquier.xyz> 2018-11-30 01:36 pgsql: Fix various checksum check problems for pg_verify_checksums and Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox