1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-07 00:35:37 +02:00

Rename page checksum error to error list in info text output.

"error list" makes it clearer that other errors may be reported. For example, if checksum-page is true in the manifest but no checksum-page-error list is provided then the error is in alignment, i.e. the file size is not a multiple of the page size, with allowances made for a valid-looking partial page at the end of the file.

It is still not possible to differentiate between alignment and page checksum errors in the output but this will be addressed in a future commit.
This commit is contained in:
David Steele
2021-09-29 09:58:47 -04:00
committed by GitHub
parent b7ef12a76f
commit 9346895f5b
3 changed files with 20 additions and 12 deletions

View File

@ -1594,7 +1594,7 @@ testRun(void)
" tablespaces:\n"
" ts1 (1) => /tblspc/ts1\n"
" ts12 (12) => /tblspc/ts12\n"
" page checksum error: base/16384/17000\n",
" error list: base/16384/17000\n",
"text - backup set requested");
//--------------------------------------------------------------------------------------------------------------------------
@ -1628,7 +1628,7 @@ testRun(void)
" tablespaces:\n"
" ts1 (1) => /tblspc/ts1\n"
" ts12 (12) => /tblspc/ts12\n"
" page checksum error: base/16384/17000\n",
" error list: base/16384/17000\n",
"text - multi-repo, backup set requested, found on repo2, report stanza and db over all repos");
//--------------------------------------------------------------------------------------------------------------------------
@ -1701,7 +1701,7 @@ testRun(void)
" repo1: backup set size: 2.3MB, backup size: 346B\n"
" backup reference list: 20181119-152138F, 20181119-152138F_20181119-152152D\n"
" database list: mail (16456), postgres (12173)\n"
" page checksum error: base/16384/17000, base/32768/33000\n",
" error list: base/16384/17000, base/32768/33000\n",
"text - backup set requested, no links");
//--------------------------------------------------------------------------------------------------------------------------