Re: brin regression test intermittent failures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: brin regression test intermittent failures
Дата
Msg-id 12788.1433437322@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: brin regression test intermittent failures  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: brin regression test intermittent failures
Re: brin regression test intermittent failures
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Evidently there is a problem right there.  If I simply add an "order by
> tenthous" as proposed by Peter, many more errors appear; and what errors
> appear differs if I change shared_buffers.  I think the real fix for
> this is to change the hand-picked values used in the brinopers table, so
> that they all pass the test using some reasonable ORDER BY specification
> in the populating query (probably tenk1.unique1).

I may be confused, but why would the physical ordering of the table
entries make a difference to the correct answers for this test?
(I can certainly see why that might break the brin code, but not
why it should change the seqscan's answers.)

Also, what I'd just noticed is that all of the cases that are failing are
ones where the expected number of matching rows is exactly 1.  I am
wondering if the test is sometimes just missing random rows, and we're not
seeing any reported problem unless that makes it go down to no rows.  (But
I do not know how that could simultaneously affect the seqscan case ...)

I think it would be a good idea to extend the brinopers table to include
the number of expected matches, and to complain if that's not what we got,
rather than simply checking for zero.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: brin regression test intermittent failures