From: | Kevin Grittner <kgrittn(at)gmail(dot)com> |
---|---|
To: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Subject: | Re: Logical decoding of sequence advances, part II |
Date: | 2016-08-23 12:26:31 |
Message-ID: | CACjxUsN+6-zFqTLLJqO5_CWUqPKxU-ikxkS6y3EDXECHuxV5Tw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Aug 23, 2016 at 7:10 AM, Kevin Grittner <kgrittn(at)gmail(dot)com> wrote:
> On Mon, Aug 22, 2016 at 6:39 PM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
>> Could you provide an example of a case where xacts replayed in
>> commit order will produce incorrect results?
>
> https://wiki.postgresql.org/wiki/SSI#Deposit_Report
>
> ... where T3 is on the replication target.
I should, perhaps, have mentioned that the cases where this is are
problem are "eventually consistent" -- it's a matter of being able
to see a state that violates business rule invariants or where data
which is "locked down" according to one part of the database is
still changing. Such problems are prevented on a single database,
but would not be prevented on a logical replica where transactions
are applied in commit order. Given enough time, the replica would
eventually settle into a state without the anomalies, similar to
some other products with eventual consistency.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-08-23 12:28:25 | Re: distinct estimate of a hard-coded VALUES list |
Previous Message | Claudio Freire | 2016-08-23 12:25:20 | Re: Block level parallel vacuum WIP |