Re:BUG #18241: PushTransaction may cause Standby to execute ItemIdMarkDead

Поиск
Список
Период
Сортировка
От feichanghong
Тема Re:BUG #18241: PushTransaction may cause Standby to execute ItemIdMarkDead
Дата
Msg-id tencent_C4D907A5093C071A029712E73B43C6512706@qq.com
обсуждение исходный текст
Ответ на BUG #18241: PushTransaction may cause Standby to execute ItemIdMarkDead  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #18241: PushTransaction may cause Standby to execute ItemIdMarkDead  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-bugs
> We have analyzed the cause of the problem: The value of
> IndexScanDesc->xactStartedInRecovery is a key condition for determining
> whether an index item can be marked as DEAD. And it depends on
> CurrentTransactionState->startedInRecovery. However, PushTransaction does
> not assign a value to startedInRecovery when modifying
> CurrentTransactionState.
The attached patch has been verified to resolve the mentioned issue.
Вложения

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18241: PushTransaction may cause Standby to execute ItemIdMarkDead
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: BUG #18238: Cross-partitition MERGE/UPDATE with delete-preventing trigger leads to incorrect memory access