Re: Prepared transaction releasing locks before deregistering its GID

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Prepared transaction releasing locks before deregistering its GID
Дата
Msg-id 20190219095759.GW15532@paquier.xyz
обсуждение исходный текст
Ответ на Re: Prepared transaction releasing locks before deregistering its GID  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Список pgsql-hackers
On Tue, Feb 19, 2019 at 12:26:04PM +0300, Konstantin Knizhnik wrote:
> May be I missed something, but why it is not possible just to move removing
> 2PC GXact before releasing transaction locks:

Because we need to keep the 2PC reference in shared memory when
releasing the locks before removing the physical file.  The 2PC test
suite for recovery has good coverage, and I imagine that these blow up
with your suggestion (no time to test now, please see
009_twophase.pl).
--
Michael

Вложения

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

Предыдущее
От: "Higuchi, Daisuke"
Дата:
Сообщение: RE: [Bug Fix] ECPG: could not use set xxx to default statement
Следующее
От: Oleksii Kliukin
Дата:
Сообщение: Re: Prepared transaction releasing locks before deregistering its GID