Re: Introduce wait_for_subscription_sync for TAP tests
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: "shiy.fnst@fujitsu.com" <shiy.fnst@fujitsu.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-08-04T06:28:05Z
Lists: pgsql-hackers
Attachments
- REL13_v4-0001-Add-wait_for_subscription_sync-for-TAP-tests.patch (application/x-patch) patch v4-0001
- REL15_v4-0001-Add-wait_for_subscription_sync-for-TAP-tests.patch (application/x-patch) patch v4-0001
- REL14_v4-0001-Add-wait_for_subscription_sync-for-TAP-tests.patch (application/x-patch) patch v4-0001
- REL11_v4-0001-Add-wait_for_subscription_sync-for-TAP-tests.patch (application/x-patch) patch v4-0001
- REL12_v4-0001-Add-wait_for_subscription_sync-for-TAP-tests.patch (application/x-patch) patch v4-0001
- REL10_v4-0001-Add-wait_for_subscription_sync-for-TAP-tests.patch (application/octet-stream) patch v4-0001
On Thu, Aug 4, 2022 at 10:37 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Wed, Aug 3, 2022 at 10:21 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > > > > Pushed this one and now I'll look at your other patch. > > > > I have pushed the second patch as well after making minor changes in > the comments. Alvaro [1] and Tom [2] suggest to back-patch this and > they sound reasonable to me. Will you be able to produce back branch > patches? Yes. I've attached patches for backbranches. The updates are straightforward on v11 - v15. However, on v10, we don't use wait_for_catchup() in some logical replication test cases. The commit bbd3363e128dae refactored the tests to use wait_for_catchup but it's not backpatched. So in the patch for v10, I didn't change the code that was changed by the commit. Also, since wait_for_catchup requires to specify $target_lsn, unlike the one in v11 or later, I changed wait_for_subscription_sync() accordingly. Regards, -- Masahiko Sawada EDB: https://www.enterprisedb.com/
Commits
-
Fix recovery_prefetch with low maintenance_io_concurrency.
- adb466150b44 16.0 cited
-
Drop replication origin slots before tablesync worker exits.
- f6c5edb8abca 16.0 cited
-
Back-Patch "Add wait_for_subscription_sync for TAP tests."
- 15014b823203 15.0 landed
- e082ef9c4282 14.6 landed
- 5afa63f0aed9 13.9 landed
- 036642abc9fb 12.13 landed
- 63903546e5d6 11.18 landed
- f01e16b1987e 10.23 landed
-
Add wait_for_subscription_sync for TAP tests.
- 0c20dd33db16 16.0 landed
-
Remove duplicated wait for subscription sync from 007_ddl.pl.
- 7bf91ec0f3b4 16.0 landed
- 572baf2b3e20 15.0 landed
-
Fix intermetent test failure in 028_row_filter.pl.
- 1f50918a6fb0 15.0 cited
-
Refactor subscription tests to use PostgresNode's wait_for_catchup
- bbd3363e128d 11.0 cited