Re: Standby registration - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Standby registration
Date
Msg-id 87y6aslsa0.fsf@hi-media-techno.com
Whole thread Raw
In response to Re: Standby registration  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Standby registration  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Hmm, that situation can arise if there's a network glitch which leads the
> standby to disconnect, but the master still considers the connection as
> alive. When the standby reconnects, the master will see two simultaneous
> connections from the same standby. In that scenario, you clearly want to
> disconnect the old connetion in favor of the new one. Is there a scenario
> where you'd want to keep the old connection instead and refuse the new
> one?

Protection against spoofing? If connecting with the right IP is all it takes…

Regards,
--
dim


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Git cvsserver serious issue
Next
From: Heikki Linnakangas
Date:
Subject: Re: Standby registration