RE: Potential data loss due to race condition during logical replication slot creation

Поиск
Список
Период
Сортировка
От Hayato Kuroda (Fujitsu)
Тема RE: Potential data loss due to race condition during logical replication slot creation
Дата
Msg-id TYCPR01MB120771B4C477C9677031F0D9BF52C2@TYCPR01MB12077.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: Potential data loss due to race condition during logical replication slot creation  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-bugs
Dear Amit,

> 
> Won't it be possible to achieve the same thing if we just save
> (serialize) the highest xid among all running xacts?
>

Indeed, here is an updated version.
Since the array in xl_running_xact is not ordered, entries of it must be seeked
and found the highest one.

Best Regards,
Hayato Kuroda
FUJITSU LIMITED
https://www.fujitsu.com/ 


Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: ReplicationSlotRelease may set the statusFlags of other processes in PG14
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Postgres jdbc driver inconsistent behaviour with double precession