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

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Ajin Cherian <itsajin(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Date: 2021-02-27 14:39:59
Message-ID: CAHut+Ps-qT9v+hvpvnrWRm1nigfbNk91RDb94-9cCfZQCNmEXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Please find attached the latest patch set v45*

Differences from v44*:

* Rebased to HEAD

* Addressed some feedback comments for the 0007 ("empty prepare") patch.

[ak1] #1 - TODO
[ak1] #2 - Fixed. Removed #if 0 debugging
[ak1] #3 - TODO
[ak1] #4 - Fixed. Now BEGIN_PREPARE and PREPARE msgs are spooled. The
lsns are obtained from them.
[ak1] #5 - TODO

[ak2] #1 - Fixed. Bad comment text
[ak2] #2 - Fixed. Added Assert that tablesync should never receive prepares
[ak2] #3 - Fixed. Use correct lsns for sync wait loop, and BiggestLSN checks
[ak2] #4 - Fixed. Rename Busytablesyncs to AnyTablesyncInProgress
[ak2] #5 - Fixed. Typo in comment. Removed XXX
[ak2] #6 - Fixed. Remove unwarranted XXX comment for FetchTableStates
[ak2] #7 - TODO

-----
[ak1] https://www.postgresql.org/message-id/CAA4eK1JWNitcTrcD51vLrh2GxKxVau0EU-5UCg6K9ZNQzPcz%2BQ%40mail.gmail.com
[ak2] https://www.postgresql.org/message-id/CAA4eK1LodEqax%2BxYOYdqgY5oEM54TdjagA0zT7QjKiC0NRNv%3Dg%40mail.gmail.com

Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment Content-Type Size
v45-0004-Support-2PC-txn-subscriber-tests.patch application/octet-stream 60.4 KB
v45-0001-Refactor-spool-file-logic-in-worker.c.patch application/octet-stream 3.6 KB
v45-0002-Track-replication-origin-progress-for-rollbacks.patch application/octet-stream 3.9 KB
v45-0003-Add-support-for-apply-at-prepare-time-to-built-i.patch application/octet-stream 37.9 KB
v45-0005-Support-2PC-txn-Subscription-option.patch application/octet-stream 35.1 KB
v45-0006-Tablesync-early-exit.patch application/octet-stream 1.2 KB
v45-0007-Fix-apply-worker-empty-prepare.patch application/octet-stream 31.9 KB
v45-0008-Fix-apply-worker-empty-prepare-dev-logs.patch application/octet-stream 12.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2021-02-27 14:55:05 Re: repeated decoding of prepared transactions
Previous Message Amit Kapila 2021-02-27 12:06:11 Re: repeated decoding of prepared transactions