From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Virendra Kumar <viru_7683@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: Back Port Request for INVALID Startup Packet
Date: Thu, 12 Mar 2020 06:50:05 +0100
Message-ID: <1d62da8f427c3f7533669be23db5195a23ad6331.camel@cybertec.at> (raw)
In-Reply-To: <446079039.553015.1583975770868@mail.yahoo.com>
References: <1580001356.490624.1583970710532.ref@mail.yahoo.com>
<1580001356.490624.1583970710532@mail.yahoo.com>
<10013.1583972967@sss.pgh.pa.us>
<446079039.553015.1583975770868@mail.yahoo.com>
On Thu, 2020-03-12 at 01:16 +0000, Virendra Kumar wrote:
> This is simple patch, would that impact badly if patched to prior versions or some other
> constraints forced to not do that. I am just trying to understand this a bit.
It is not that this patch would have a terrible impact.
There is a good reason for being very strict about what to backport: we want users
to install the latest minor release without them worrying if that will change any
behavior they rely on or not.
If the users are not confident that they can always install the latest minor release
without extra testing, they won't install them and run old, buggy releases.
This would be bad for PostgreSQL's reputation of being stable and reliable.
So also "harmless" changes that don't actually fix a bug are not backported.
> On AWS RDS we have primary and secondary hosts known in advance in most cases.
> So if a primary instance fails over it will be other host and hence we have to
> update the active nodes in targets using lamda function. AWS RDS fails over very
> quickly under 3 seconds mostly and hence we have set that health checks to 3seconds.
> I'll go back to AWS folks and see if they can do this in prior releases.
Hm. A system that fails over withing three seconds seems fragile to me.
Doesn't that mean that evvery little hiccup will cause a failover?
Maybe I don't understand what you are doing, but wouldn't it be better to catch
errors whenever you perform a database operation and retry the operation if the
error indicates that you have lost the connection?
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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-general@postgresql.org
Cc: laurenz.albe@cybertec.at, viru_7683@yahoo.com, tgl@sss.pgh.pa.us
Subject: Re: Back Port Request for INVALID Startup Packet
In-Reply-To: <1d62da8f427c3f7533669be23db5195a23ad6331.camel@cybertec.at>
References: <1580001356.490624.1583970710532.ref@mail.yahoo.com> <1580001356.490624.1583970710532@mail.yahoo.com> <10013.1583972967@sss.pgh.pa.us> <446079039.553015.1583975770868@mail.yahoo.com> <1d62da8f427c3f7533669be23db5195a23ad6331.camel@cybertec.at>
* 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