Re: Standby catch up state change
От | Pavan Deolasee |
---|---|
Тема | Re: Standby catch up state change |
Дата | |
Msg-id | CABOikdNz0SP=F09neaDq=KjWU64JowsfjCe78vi4UadGZ1QuRw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Standby catch up state change (Andres Freund <andres@2ndquadrant.com>) |
Ответы |
Re: Standby catch up state change
|
Список | pgsql-hackers |
On Tue, Oct 15, 2013 at 4:16 PM, Andres Freund <andres@2ndquadrant.com> wrote:
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee
I don't think delaying the message is a goodidea.
Comment in walsender.c says:
/*
* If we're in catchup state, move to streaming. This is an
* important state change for users to know about, since before
* this point data loss might occur if the primary dies and we
* need to failover to the standby.
*/
IOW it claims no data loss will occur after this point. But if the WAL is cached on the master side, isn't this a false claim i.e. the data loss can still occur even after master outputs the log message and changes the state to streaming. Or am I still getting it wrong ?
Thanks,
Pavan
-- Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee
В списке pgsql-hackers по дате отправления: