Re: BDR: DDL lock problem with function inside a schema

Поиск
Список
Период
Сортировка
От sym39
Тема Re: BDR: DDL lock problem with function inside a schema
Дата
Msg-id 5576A3F3.3070906@gmail.com
обсуждение исходный текст
Ответ на Re: BDR: DDL lock problem with function inside a schema  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-general
Le 09/06/2015 02:29, Craig Ringer a écrit :


Questions:
---------------
-Is it a known bug? If yes should I report it (and where)?

Please open a report on github for this - https://github.com/2ndQuadrant/bdr/issues
=> https://github.com/2ndQuadrant/bdr/issues/87
 
-How to recover such DDL lock problems operation without recreating the database? In other words, what is the proper way to cleanly restart both nodes?

Restarting both nodes should be sufficient, and I am surprised to see that is not the case here. This needs more investigation.
 
-Is it a well known method to properly detach and attach nodes?

I'm not sure I understand.

If you mean join and remove nodes, join with bdr.bdr_group_join, remove with bdr.bdr_part_by_node_names .

I was trying to find a way to recover the situation. I though that detaching all nodes with bdr.bdr_part_by_node_names(), then reattaching then with bdr.bdr_group_join() could help, but I did not succeed to do it.

In fact, this question is orthogonal / not related to the problem : I just would like to detach /attach a node dynamically. Is it well supported / planned to be supported ?

Thanks and Regards,
Sylvain

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BDR: DDL lock problem with function inside a schema
Следующее
От: Dave Johansen
Дата:
Сообщение: Re: Inserting from multiple processes?