From: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
---|---|
To: | 'Amit Kapila' <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | RE: Found issues related with logical replication and 2PC |
Date: | 2024-08-08 05:09:25 |
Message-ID: | TYAPR01MB5692C6D8FD4ECAEEAB41C256F5B92@TYAPR01MB5692.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dear Amit,
> Can we start a separate thread to issue 2? I understand that this one
> is also related to two_phase but since both are different issues it is
> better to discuss in separate threads. This will also help us refer to
> the discussion in future if required.
You are right, we should discuss one topic per thread. Forked: [1].
> BTW, why did the 0002 patch change the below code:
> --- a/src/include/replication/worker_internal.h
> +++ b/src/include/replication/worker_internal.h
> @@ -164,7 +164,8 @@ typedef struct ParallelApplyWorkerShared
>
> /*
> * XactLastCommitEnd or XactLastPrepareEnd from the parallel apply worker.
> - * This is required by the leader worker so it can update the lsn_mappings.
> + * This is required by the leader worker so it can update the
> + * lsn_mappings.
> */
> XLogRecPtr last_commit_end;
>
Opps. Fixed version is posted in [1].
Best regards,
Hayato Kuroda
FUJITSU LIMITED
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2024-08-08 05:17:00 | Re: proposal: schema variables |
Previous Message | Hayato Kuroda (Fujitsu) | 2024-08-08 05:07:18 | [bug fix] prepared transaction might be lost when max_prepared_transactions is zero on the subscriber |