Re: Synchronous Standalone Master Redoux
От | Jose Ildefonso Camargo Tolosa |
---|---|
Тема | Re: Synchronous Standalone Master Redoux |
Дата | |
Msg-id | CAETJ_S-h8t5_S_1WYE0EORvDTKgo-8qYp2Gd+R7onSGVdtgO_w@mail.gmail.com обсуждение исходный текст |
Ответ на | Synchronous Standalone Master Redoux (Shaun Thomas <sthomas@optionshouse.com>) |
Список | pgsql-hackers |
On Fri, Jul 13, 2012 at 12:25 AM, Amit Kapila <amit.kapila@huawei.com> wrote: > >> From: pgsql-hackers-owner@postgresql.org > [mailto:pgsql-hackers-owner@postgresql.org] >> On Behalf Of Jose Ildefonso Camargo Tolosa >>>On Thu, Jul 12, 2012 at 9:28 AM, Aidan Van Dyk <aidan@highrise.ca> wrote: >> On Thu, Jul 12, 2012 at 9:21 AM, Shaun Thomas <sthomas@optionshouse.com> > wrote: >> > >> As currently is, the point of: freezing the master because standby >> dies is not good for all cases (and I dare say: for most cases), and >> having to wait for pacemaker or other monitoring to note that, change >> master config and reload... it will cause a service disruption! (for >> several seconds, usually, ~30 seconds). > > Yes, this is true that it can cause service disruption, but the same will be > True even if master detects that internally by having timeout. > By keeping this as external, the current behavior of PostgreSQL can be > maintained that > if there is no standy in sync mode, it will wait and still serve the purpose > as externally it can send message for master. > How does currently PostgreSQL detects that its main synchronous standby went away and switch to another synchronous standby on the synchronous_standby_names config parameter? The same logic could be applied to "no more synchronous standbys: go into standalone" (optionally). -- Ildefonso Camargo Command Prompt, Inc. - http://www.commandprompt.com/ PostgreSQL Support, Training, Professional Services and Development High Availability, Oracle Conversion, Postgres-XC @cmdpromptinc - 509-416-6579
В списке pgsql-hackers по дате отправления: