Re: IPC/MultixactCreation on the Standby server

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: IPC/MultixactCreation on the Standby server
Дата
Msg-id ebacc906-9e02-4c86-ac25-7d2f3a929ffd@iki.fi
обсуждение исходный текст
Ответ на Re: IPC/MultixactCreation on the Standby server  (Álvaro Herrera <alvherre@kurilemu.de>)
Список pgsql-hackers
On 26/11/2025 23:15, Álvaro Herrera wrote:
> On 2025-11-26, Heikki Linnakangas wrote:
> 
>> What happens if you replay the WAL generated with old binary, without
>> this patch, with new binary? It's not good:
> 
> Maybe this needs a new record identifier, separating old wal from that generated by the new code?

One downside of that is that the new WAL record type would be unreadable 
by older versions. We recommend upgrading standbys before primary, but 
it'd still be nicer if we could avoid that.

Maybe we can make RecordNewMultiXact() tolerate the missing page, in 
this special case of replaying WAL and the multixid being at the page 
boundary.

- Heikki




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