From: | "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
Subject: | RE: Fix slot synchronization with two_phase decoding enabled |
Date: | 2025-04-01 10:58:24 |
Message-ID: | OS3PR01MB5718390A647E7789161815CD94AC2@OS3PR01MB5718.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Apr 1, 2025 at 2:09 PM Amit Kapila wrote:
>
> On Mon, Mar 31, 2025 at 5:0 PM Zhijie Hou (Fujitsu)
> <houzj(dot)fnst(at)fujitsu(dot)com> wrote:
> >
> > Thanks for the comments, they have been addressed in V2.
> >
>
> In the PG17 patch, we only have a check preventing failover and
> two_phase in CreateSubscription. Don't we need a similar check for AlterSubscription?
>
> Apart from the above, I have a few suggestions for changes in docs,
> error messages, and comments for both versions. See attached.
Thanks for the comments.
Here is the V3 patch set which addressed all the comments.
I also added a testcase for ALTER SUB in 0002 as suggested by
Kuroda-san off-list.
Additionally, I found that a test failed in PG17 following this
patch because it involved creating a subscription with both failover and
two-phase enabled. Since that test was designed to test the upgrade of
replication slots and is not directly related to failover functionality, I
decided to disable the failover option for test case.
Best Regards,
Hou zj
Attachment | Content-Type | Size |
---|---|---|
v3-0001-Fix-slot-synchronization-with-two_phase-decoding-.patch | application/octet-stream | 14.2 KB |
v3-0002-PG-Disallow-enabling-failover-for-a-replication-slot.patch.txt | text/plain | 11.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jakub Wartak | 2025-04-01 11:13:43 | Re: Better HINT message for "unexpected data beyond EOF" |
Previous Message | Jakub Wartak | 2025-04-01 10:56:06 | Re: Draft for basic NUMA observability |