Re: [HACKERS] More race conditions in logical replication

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] More race conditions in logical replication
Дата
Msg-id 20170722013318.3czpk3z4xuoux7zo@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [HACKERS] More race conditions in logical replication  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: [HACKERS] More race conditions in logical replication  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
I'm back at looking into this again, after a rather exhausting week.  I
think I have a better grasp of what is going on in this code now, and it
appears to me that we should change the locking so that active_pid is
protected by ReplicationSlotControlLock instead of the slot's spinlock;
but I haven't analyzed the idea fully yet and I don't have the patch
done yet either.  I'm going to report, hopefully with a fix committed
this time, on Monday at 19:00 CLT.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] [WIP] [B-Tree] Keep indexes sorted by heap physical location
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Error while copying a large file in pg_rewind