Re: Transaction Snapshots and Hot Standby

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Transaction Snapshots and Hot Standby
Дата
Msg-id 1221140305.17270.100.camel@PCD12478
обсуждение исходный текст
Ответ на Re: Transaction Snapshots and Hot Standby  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: Transaction Snapshots and Hot Standby
Список pgsql-hackers
On Thu, 2008-09-11 at 15:33 +0200, Dimitri Fontaine wrote:
> What would forbid the slave to choose to replay all currently lagging WALs 
> each time it's given the choice to advance a little?

Well now that I think I understand what Heikki meant, I also think the
problem is that there's no choice at all to advance, because the new
queries will simply have the same snapshot as currently running ones as
long as WAL reply is blocked... further blocking the WAL reply. When
saying this I suppose that the snapshot is in fact based on the last
recovered XID, and not on any slave-local XID. In that case once WAL
recovery is blocked, the snapshot is stalled too, further blocking WAL
recovery, and so on...

Cheers,
Csaba.




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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Transaction Snapshots and Hot Standby
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Transaction Snapshots and Hot Standby