Re: [HACKERS] Interval for launching the table sync worker

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Interval for launching the table sync worker
Дата
Msg-id 9d65f11c-b4f7-0156-3ce3-8ca6311807c5@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Interval for launching the table sync worker  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Список pgsql-hackers
On 4/21/17 09:59, Petr Jelinek wrote:
> Rereading the code again, it's actually not bug as we update the rstate
> to what syncworker says, but it's obviously confusing so probably still
> worth to commit that.

We don't have the syncworker->relmutex at that point, so it's probably
better to read the previously-copied value in rstate->state.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] PG 10 release notes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] PG 10 release notes