Re: Automatic Client Failover - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Automatic Client Failover
Date
Msg-id 200808051245.02387.dfontaine@hi-media.com
Whole thread Raw
In response to Re: Automatic Client Failover  (Markus Wanner <markus@bluegap.ch>)
Responses Re: Automatic Client Failover  (Markus Wanner <markus@bluegap.ch>)
List pgsql-hackers
Le mardi 05 août 2008, Markus Wanner a écrit :
>  > (Think network partition.)
>
> Uh... well, yeah, of course the servers themselves need to exchange
> their state and make sure they only accept clients if they are up and
> running (as seen by the cluster). That's what the 'view' of a GCS is all
> about. Or STONITH, for that matter.

That's where I'm thinking that some -core smartness would makes this part
simpler, hence the confusion (sorry about that) on the thread.

If slave nodes were able to accept connection and redirect them to master, the
client wouldn't need to care about connecting to master or slave, just to
connect to a live node.

So the proposal for Automatic Client Failover becomes much more simpler.
--
dim

pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: plan invalidation vs stored procedures
Next
From: Zdenek Kotala
Date:
Subject: small improvement in buffread common