Re: Cascading replication and recovery_target_timeline='latest'

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Cascading replication and recovery_target_timeline='latest'
Дата
Msg-id m2r4qiw1f4.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Cascading replication and recovery_target_timeline='latest'  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Cascading replication and recovery_target_timeline='latest'  (Josh Berkus <josh@agliodbs.com>)
Re: Cascading replication and recovery_target_timeline='latest'  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Hmm, I was thinking that when walsender gets the position it can send the
> WAL up to, in GetStandbyFlushRecPtr(), it could atomically check the current
> recovery timeline. If it has changed, refuse to send the new WAL and
> terminate. That would be a fairly small change, it would just close the
> window between requesting walsenders to terminate and them actually
> terminating.

It looks to me like a bug fix that also applies to non cascading
situation. Is that right?

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



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

Предыдущее
От: "Etsuro Fujita"
Дата:
Сообщение: Minor document updates
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Proof of concept: standalone backend with full FE/BE protocol