Re: propagating replica identity to partitions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: propagating replica identity to partitions
Дата
Msg-id 20190215210256.GA26815@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: propagating replica identity to partitions  (Dmitry Dolgov <9erthalion6@gmail.com>)
Ответы Re: propagating replica identity to partitions  (Dmitry Dolgov <9erthalion6@gmail.com>)
Список pgsql-hackers
On 2019-Feb-07, Dmitry Dolgov wrote:

> Could there be a race condition somewhere? The idea and the code looks
> reasonable, but when I'm testing ALTER TABLE ... REPLICA IDENTITY with this
> patch and concurrent partition creation, I've got the following error on ATTACH
> PARTITION:
> 
> ERROR:  42P17: replica index does not exist in partition "test373"
> LOCATION:  MatchReplicaIdentity, tablecmds.c:15018
> 
> This error seems unstable, other time I've got a deadlock. And I don't observe
> this behaviour on the master.

Can you share your reproducer?

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


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: WAL insert delay settings
Следующее
От: Bruce Momjian
Дата:
Сообщение: Channel binding