Re: [HACKERS] logical decoding of two-phase transactions

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: Ajin Cherian <itsajin(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Date: 2021-03-04 10:52:57
Message-ID: CAHut+Psr8f1tUttndgnkK_=a7w=hsomw16SEOn6U68jSBKL9SQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Please find attached the latest patch set v48*

Differences from v47* are:

* Rebased to HEAD @ today

* Patch v46-0008 "empty prepare" updated
Modified code to use File API instead of BufFile API for prepare spoolfile (psf)
Various other feedback items also addressed:
[05a] Now syncing the psf file at prepare time
[05e] Now spooling psf files should delete on error, or if already
prepared then delete only when they are committed/rollbacked
[06] Now checking existence of psf file on disk if not in memory (in
case HTAB lost after restart)
[16] Fixed. Remove unnecessary Assert with spooled PREPARE message
[20] Fixed. Typo "it it" in comment.

KNOWN ISSUES
* Patch 0008 has more feedback comments to be addressed

-----

Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment Content-Type Size
v48-0001-Refactor-spool-file-logic-in-worker.c.patch application/octet-stream 3.6 KB
v48-0002-Track-replication-origin-progress-for-rollbacks.patch application/octet-stream 3.9 KB
v48-0004-Add-two_phase-option-to-CREATE-REPLICATION-SLOT.patch application/octet-stream 7.1 KB
v48-0003-Add-support-for-apply-at-prepare-time-to-built-i.patch application/octet-stream 33.5 KB
v48-0005-Support-2PC-txn-subscriber-tests.patch application/octet-stream 60.4 KB
v48-0007-Tablesync-early-exit.patch application/octet-stream 1.2 KB
v48-0006-Support-2PC-txn-Subscription-option.patch application/octet-stream 35.5 KB
v48-0008-Fix-apply-worker-empty-prepare.patch application/octet-stream 33.1 KB
v48-0009-Fix-apply-worker-empty-prepare-dev-logs.patch application/octet-stream 14.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ibrar Ahmed 2021-03-04 10:53:34 Re: Allow matching whole DN from a client certificate
Previous Message Michael Paquier 2021-03-04 10:38:08 Re: Improvements and additions to COPY progress reporting