From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, jd(at)commandprompt(dot)com, Thom Brown <thom(at)linux(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Dave Page <dpage(at)pgadmin(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Configuring synchronous replication |
Date: | 2010-09-23 17:07:55 |
Message-ID: | 29945.1285261675@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> Now, admittedly, in more complex topologies, and especially if you're
> using configuration options that pertain to the behavior of
> disconnected standbys (e.g. wait for them, or retain WAL for them),
> you're going to need to adjust the configs. But I think that's likely
> to be true anyway, even with a catalog. If A is doing sync rep and
> waiting for B even when B is disconnected, and the machines switch
> roles, it's hard to see how any configuration isn't going to need some
> adjustment. One thing that's nice about the flat file system is that
> you can make the configuration changes on the new master before you
> promote it
Actually, that's the killer argument in this whole thing. If the
configuration information is in a system catalog, you can't change it
without the master being up and running. Let us suppose for example
that you've configured hard synchronous replication such that the master
can't commit without slave acks. Now your slaves are down and you'd
like to change that setting. Guess what.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-09-23 17:18:14 | Re: Configuring synchronous replication |
Previous Message | Tom Lane | 2010-09-23 17:03:36 | Re: Configuring synchronous replication |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-09-23 17:18:14 | Re: Configuring synchronous replication |
Previous Message | Tom Lane | 2010-09-23 17:03:36 | Re: Configuring synchronous replication |