Re: Time-Delayed Standbys
От | Fabrízio de Royes Mello |
---|---|
Тема | Re: Time-Delayed Standbys |
Дата | |
Msg-id | CAFcNs+qPYEzJ-jRBH31VppG=_F1-9gwR_T2iRqru-i-4rdRLrA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Time-Delayed Standbys (Simon Riggs <simon@2ndQuadrant.com>) |
Ответы |
Re: Time-Delayed Standbys
|
Список | pgsql-hackers |
<div dir="ltr"><div class="gmail_extra"><br />On Wed, Dec 11, 2013 at 6:27 AM, Simon Riggs <<a href="mailto:simon@2ndquadrant.com">simon@2ndquadrant.com</a>>wrote:<br />><br />> On 11 December 2013 06:36, KONDOMitsumasa<br /> > <<a href="mailto:kondo.mitsumasa@lab.ntt.co.jp">kondo.mitsumasa@lab.ntt.co.jp</a>> wrote:<br/>><br />> >> I think this feature will be used in a lot of scenarios in<br />> >> which PITRis currently used.<br /> > ><br />> > We have to judge which is better, we get something potential or toprotect<br />> > stupid.<br />> > And we had better to wait author's comment...<br />><br />> I'd sayjust document that it wouldn't make sense to use it for PITR.<br /> ><br />> There may be some use case we can'tsee yet, so specifically<br />> prohibiting a use case that is not dangerous seems too much at this<br />> point.I will no doubt be reminded of these words in the future...<br /> ><br /><br /></div><div class="gmail_extra">Hiall,<br /><br />I tend to agree with Simon, but I confess that I don't liked to delay a server withstandby_mode = 'off'.<br /><br /></div><div class="gmail_extra">The main goal of this patch is delay the Streaming Replication,so if the slave server isn't a hot-standby I think makes no sense to delay it.<br /></div><div class="gmail_extra"><br/></div><div class="gmail_extra">Mitsumasa suggested to add "StandbyModeRequested" in conditionalbranch to skip this situation. I agree with him!<br /></div><div class="gmail_extra"><br /></div><div class="gmail_extra">AndI'll change 'recoveryDelay' (functions, variables) to 'standbyDelay'. <br /><br /></div><div class="gmail_extra">Regards,<br/><br /></div><div class="gmail_extra">--<br /> Fabrízio de Royes Mello<br />Consultoria/CoachingPostgreSQL<br />>> Timbira: <a href="http://www.timbira.com.br">http://www.timbira.com.br</a><br/>>> Blog sobre TI: <a href="http://fabriziomello.blogspot.com">http://fabriziomello.blogspot.com</a><br/> >> Perfil Linkedin: <a href="http://br.linkedin.com/in/fabriziomello">http://br.linkedin.com/in/fabriziomello</a><br/>>> Twitter: <a href="http://twitter.com/fabriziomello">http://twitter.com/fabriziomello</a></div></div>
В списке pgsql-hackers по дате отправления: