Re: Something is wrong with wal_compression

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема Re: Something is wrong with wal_compression
Дата
Msg-id CAAhFRxizSbqbciX0025J-35q5-aFi9HXaO5SDPH=fWuPMaT34Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Something is wrong with wal_compression  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Something is wrong with wal_compression  (Andres Freund <andres@anarazel.de>)
Re: Something is wrong with wal_compression  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Fri, Jan 27, 2023 at 7:40 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> What are you using it for, that you don't care whether the answer
> is trustworthy?
>

It's not trustworthy anyway. Xid wraparound might happen during
reconnect. I suspect we can design a test that will show that it does
not always show correct results during xid->2pc conversion (there is a
point in time when xid is not in regular and not in 2pc, and I'm not
sure ProcArrayLock is held). Maybe there are other edge cases.

Anyway, if a user wants to know the status of xid in case of
disconnection they have prepared xacts.

Best regards, Andrey Borodin.



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Something is wrong with wal_compression
Следующее
От: "houzj.fnst@fujitsu.com"
Дата:
Сообщение: RE: Deadlock between logrep apply worker and tablesync worker