Re: t/010_pg_basebackup.pl checksum verify fails with RELSEG_SIZE 1

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: t/010_pg_basebackup.pl checksum verify fails with RELSEG_SIZE 1
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: vacuum verbose detail logs are unclear; log at *start* of eachstage