From: | Csaba Nagy <ncslists(at)googlemail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Simon Riggs <simon(at)2ndQuadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(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 16:09:26 |
Message-ID: | 1285258166.2969.96.camel@pcd12478 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Thu, 2010-09-23 at 11:43 -0400, Tom Lane wrote:
> > What other problems are there that mean we *must* have a file?
>
> Well, for one thing, how do you add a new slave? If its configuration
> comes from a system catalog, it seems that it has to already be
> replicating before it knows what its configuration is.
Or the slave gets a connection string to the master, and reads the
configuration from there - it has to connect there anyway...
The ideal bootstrap for a slave creation would be: get the params to
connect to the master + the replica ID, and the rest should be done by
connecting to the master and getting all the needed thing from there,
including configuration.
Maybe you see some merit for this idea: it wouldn't hurt to get the
interfaces done so that the master could be impersonated by some WAL
repository serving a PITR snapshot, and that the same WAL repository
could connect as a slave to the master and instead of recovering the WAL
stream, archive it. Such a WAL repository would possibly connect to
multiple masters and could also get regularly snapshots too. This would
provide a nice complement to WAL replication as PITR solution using the
same protocols as the WAL standby. I have no idea if this would be easy
to implement or useful for anybody.
Cheers,
Csaba.
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-09-23 16:45:45 | Re: Configuring synchronous replication |
Previous Message | Simon Riggs | 2010-09-23 16:06:47 | Re: Configuring synchronous replication |
From | Date | Subject | |
---|---|---|---|
Next Message | Ganesh Venkitachalam-1 | 2010-09-23 16:22:44 | Re: Latch implementation |
Previous Message | Simon Riggs | 2010-09-23 16:06:47 | Re: Configuring synchronous replication |