Re: select_parallel test failure: gather sometimes losing tuples(maybe during rescans)?

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: select_parallel test failure: gather sometimes losing tuples(maybe during rescans)?
Дата
Msg-id CAEepm=1323zKD-Wx5Psg5NhvOQT0ObaewugZVPE+cFt3Qew7zw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: select_parallel test failure: gather sometimes losing tuples(maybe during rescans)?  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: select_parallel test failure: gather sometimes losing tuples(maybe during rescans)?  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
On Sun, Mar 4, 2018 at 4:37 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> Could it be that a concurrency bug causes tuples to be lost on the
> tuple queue, and also sometimes causes X (terminate) messages to be
> lost from the error queue, so that the worker appears to go away
> unexpectedly?

Could shm_mq_detach_internal() need a pg_write_barrier() before it
writes mq_detached = true, to make sure that anyone who observes that
can also see the most recent increase of mq_bytes_written?

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Rewriting the test of pg_upgrade as a TAP test - take two
Следующее
От: Charles Cui
Дата:
Сообщение: Re: GSOC 2018 ideas