Re: locking [user] catalog tables vs 2pc vs logical rep
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Markus Wanner <markus.wanner@enterprisedb.com>
Date: 2021-02-23T03:54:18Z
Lists: pgsql-hackers
On Tue, Feb 23, 2021 at 9:09 AM Andres Freund <andres@anarazel.de> wrote: > > On 2021-02-23 08:56:39 +0530, Amit Kapila wrote: > > On Tue, Feb 23, 2021 at 3:58 AM Andres Freund <andres@anarazel.de> wrote: > > > Perhaps all that we need to do is to disallow 2PC prepare if [user] > > > catalog tables have been locked exclusively? > > > Right, and we have discussed this during development [1][2]. > > I remember bringing it up before as well... Issues like this really need > to be mentioned as explicit caveats at least somewhere in the code and > commit message. > Okay, so is it sufficient to add comments in code, or do we want to add something in docs? I am not completely sure if we need to add in docs till we have core-implementation of prepare waiting to get logically replicated. -- With Regards, Amit Kapila.
Commits
-
Doc: Update caveats in synchronous logical replication.
- 4be39ef9cbc5 9.6.23 landed
- f365151a5392 10.18 landed
- e00e5db22d79 11.13 landed
- a73bd49c69e1 12.8 landed
- 7a4ecefe9d77 13.4 landed
- c66fb78ebb4f 14.0 landed
-
Document a few caveats in synchronous logical replication.
- acdb523cb642 9.6.23 landed
- ff33be61f212 10.18 landed
- 5a456034b84e 11.13 landed
- 9f7bba2629cf 13.4 landed
- eb231dbd80d2 12.8 landed
- 3cb828dbe260 14.0 landed
-
Update the docs and comments for decoding of prepared xacts.
- b4e3dc7fd420 14.0 landed
-
Allow decoding at prepare time in ReorderBuffer.
- a271a1b50e9b 14.0 cited
-
Documentation for logical decoding.
- 49c0864d7ef5 9.4.0 cited