Re: Configuring synchronous replication
От | Fujii Masao |
---|---|
Тема | Re: Configuring synchronous replication |
Дата | |
Msg-id | AANLkTiktbJ28=kUY=eVp5JrtLp3EdJoMvhzFL_P9eH4r@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Configuring synchronous replication (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
Список | pgsql-hackers |
On Mon, Sep 20, 2010 at 3:27 PM, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote: > However, the "wait forever" behavior becomes useful if you have a monitoring > application outside the DB that decides when enough is enough and tells the > DB that the slave can be considered dead. So "wait forever" actually means > "wait until I tell you that you can give up". The monitoring application can > STONITH to ensure that the slave stays down, before letting the master > proceed with the commit. This is also useful for preventing a failover from causing some data loss by promoting the lagged standby to the master. To avoid any data loss, we must STONITH the standby before any transactions resume on the master, when replication connection is terminated or the crash of the standby happens. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: