From: Kevin Grittner <kgrittn@ymail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Shulgin, Oleksandr <oleksandr.shulgin@zalando.de>
Cc: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: Victor Wagner <vitus@wagner.pp.ru>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Proposal: Implement failover on libpq connect level.
Date: Wed, 9 Sep 2015 20:30:49 +0000 (UTC)
Message-ID: <1784601749.30934.1441830649267.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <CA+TgmoZqQ9+VMFHASDcEtz_qF4nHYqcCq1P1-z7M2+82pz2vWA@mail.gmail.com>
References: <CA+TgmoZqQ9+VMFHASDcEtz_qF4nHYqcCq1P1-z7M2+82pz2vWA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> wrote:
> I think the problem we should be trying to solve is: Given a set
> of server IPs, connect to one that is up.
>
> I believe this comes up in several different scenarios.
>
> Example #1: [single server; changing IP address gracefully]
>
> Example #2: [xDB/BDR client uses local master if up; else a remote]
>
> Example #3: [SR/HS with changing primary]
For all of those it is clear that we do not need (or want!)
heartbeat, STONITH, fencing, etc. to be handled by the connector.
If the above are the sorts of problems we are trying to solve, a
very simple solution is the best. I know you outlined several; I'm
not sure it would matter all that much which one we used -- any
would work and someone should Just Do It.
> I'm sure there are more.
Ay, there's the rub. Some people seemed to be suggesting that this
should be far more than what you describe above. That would, IMO,
be a mistake.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: kgrittn@ymail.com, robertmhaas@gmail.com, bruce@momjian.us, oleksandr.shulgin@zalando.de, andres@anarazel.de, alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, laurenz.albe@wien.gv.at, vitus@wagner.pp.ru, pgsql-hackers@postgresql.org
Subject: Re: Proposal: Implement failover on libpq connect level.
In-Reply-To: <1784601749.30934.1441830649267.JavaMail.yahoo@mail.yahoo.com>
References: <CA+TgmoZqQ9+VMFHASDcEtz_qF4nHYqcCq1P1-z7M2+82pz2vWA@mail.gmail.com> <1784601749.30934.1441830649267.JavaMail.yahoo@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox