Re: t/010_pg_basebackup.pl checksum verify fails with RELSEG_SIZE 1
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: t/010_pg_basebackup.pl checksum verify fails with RELSEG_SIZE 1 |
| Дата | |
| Msg-id | 22822.1579999768@sss.pgh.pa.us обсуждение |
| Ответ на | t/010_pg_basebackup.pl checksum verify fails with RELSEG_SIZE 1 (Thomas Munro <thomas.munro@gmail.com>) |
| Список | pgsql-hackers |
Thomas Munro <thomas.munro@gmail.com> writes:
> Sometimes I set RELSEG_SIZE to 1, as a way to get the various in-tree
> tests to give the relation segment code a good workout. That's
> outside the range that configure --with-segsize would allow and
> therefore not really a supported size (it's set in GB), but it's very
> useful for giving the relation segment code a good workout on small
> databases like the check-world ones. At some point I think that
> worked, but now it says:
> t/010_pg_basebackup.pl ... 100/106
> # Failed test 'pg_basebackup does not report more than 5 checksum
> mismatches stderr
So ... presumably, the problem is that this supposes that whatever
damage it did is spread across less than 5 relation segments, and
with a sufficiently small segment size, that assumption is wrong.
I'd say this is a a poorly designed test.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера