From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Real application clustering in postgres.
Date: Mon, 09 Mar 2020 09:57:37 +0100
Message-ID: <2e3425a044cdc73ae67649dd674df569be55d84d.camel@cybertec.at> (raw)
In-Reply-To: <20200308201316.GD22585@hjp.at>
References: <BY5PR01MB58436F3E3FCE8FD0CF73A29F9BE20@BY5PR01MB5843.prod.exchangelabs.com>
<1aa5a345543ea85b3e0e7d3021ed6b1cdc04e66c.camel@cybertec.at>
<a3ba6d89-99cd-6344-28f3-427d60a738ef@gmail.com>
<29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at>
<20200308201316.GD22585@hjp.at>
On Sun, 2020-03-08 at 21:13 +0100, Peter J. Holzer wrote:
> But to be fair, a master/slave setup a la patroni isn't immune against
> "writing junk" either: Not on the hardware level (either of the nodes
> may have faulty hardware, and you may not notice it until too late), and
> more importantly, not on the software level. An erroneus DML statement
> (because of a bug in the application, or because the user/admin made a
> mistake) will cause the same wrong data to be distributed to all nodes
> (of course this also applies to RAC).
Of course, nobody debates that.
A high-availability solution only protects you from certain, well-defined
kinds of problems, usually related to hardware.
There is no way to protect yourself from software bugs or user errors.
If there is a hardware problem that causes one of the databases in the
Patroni cluster to become corrupted, the others are not immediately
affected. That's the point of a shared-nothing architecture.
Of course, if the corrupted database is the primary, corruption can
eventually spread to the others.
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, hjp-pgsql@hjp.at
Subject: Re: Real application clustering in postgres.
In-Reply-To: <2e3425a044cdc73ae67649dd674df569be55d84d.camel@cybertec.at>
References: <BY5PR01MB58436F3E3FCE8FD0CF73A29F9BE20@BY5PR01MB5843.prod.exchangelabs.com> <1aa5a345543ea85b3e0e7d3021ed6b1cdc04e66c.camel@cybertec.at> <a3ba6d89-99cd-6344-28f3-427d60a738ef@gmail.com> <29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at> <20200308201316.GD22585@hjp.at> <2e3425a044cdc73ae67649dd674df569be55d84d.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