Re: Time-Delayed Standbys
От | Simon Riggs |
---|---|
Тема | Re: Time-Delayed Standbys |
Дата | |
Msg-id | CA+U5nMLhhPQ_FX-TuBLfvn0OMsPY-URZpE_CKtdROFXXoST=Vg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Time-Delayed Standbys (Fabrízio de Royes Mello <fabriziomello@gmail.com>) |
Ответы |
Re: Time-Delayed Standbys
|
Список | pgsql-hackers |
On 12 December 2013 21:58, Fabrízio de Royes Mello <fabriziomello@gmail.com> wrote: > > On Thu, Dec 12, 2013 at 3:42 PM, Fabrízio de Royes Mello > <fabriziomello@gmail.com> wrote: >> >> On Thu, Dec 12, 2013 at 3:39 PM, Simon Riggs <simon@2ndquadrant.com> >> wrote: >> > >> > On 12 December 2013 15:19, Simon Riggs <simon@2ndquadrant.com> wrote: >> > >> > > Don't panic guys! I meant UTC offset only. And yes, it may not be >> > > needed, will check. >> > >> > Checked, all non-UTC TZ offsets work without further effort here. >> > >> >> Thanks! >> > > Reviewing the committed patch I noted that the "CheckForStandbyTrigger()" > after the delay was removed. > > If we promote the standby during the delay and don't check the trigger > immediately after the delay, then we will replay undesired WALs records. > > The attached patch add this check. I removed it because it was after the pause. I'll replace it, but before the pause. -- Simon Riggs http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: