Re: Initial Schema Sync for Logical Replication

Поиск
Список
Период
Сортировка
От vignesh C
Тема Re: Initial Schema Sync for Logical Replication
Дата
Msg-id CALDaNm3W4CLaALMzNMTJd7Hpunmecib4AUZc63HmmoGvXKdV2Q@mail.gmail.com
обсуждение исходный текст
Ответ на RE: Initial Schema Sync for Logical Replication  ("Kumar, Sachin" <ssetiya@amazon.com>)
Ответы RE: Initial Schema Sync for Logical Replication  ("Kumar, Sachin" <ssetiya@amazon.com>)
Список pgsql-hackers
On Thu, 31 Aug 2023 at 17:18, Kumar, Sachin <ssetiya@amazon.com> wrote:
>
> Hi Everyone, based on internal discussion with Masahiko
> I have implemented concurrent DDL support for initial schema sync.
>
> Concurrent Patch workflow
>
> 1. When TableSync worker creates a replicaton slot, It will
> save the slot lsn into pg_subscription_rel with
> SUBREL_SYNC_SCHEMA_DATA_SYNC state, and it will wait for
> its state to be SUBREL_STATE_DATASYNC.
>
> 2. Applier process will apply DDLs till tablesync lsn, and then
> it will change pg_subscription_rel state to SUBREL_STATE_DATASYNC.
>
> 3. TableSync will continue applying pending DML/DDls till it catch up.
>
> This patch needs DDL replication to apply concurrent DDLs, I have cherry-
> picked this DDL patch [0]

Can you rebase the patch and post the complete set of required changes
for the concurrent DDL, I will have a look at them.

Regards,
Vignesh



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Banck
Дата:
Сообщение: [patch] pg_basebackup: mention that spread checkpoints are the default in --help
Следующее
От: vignesh C
Дата:
Сообщение: Re: Initial Schema Sync for Logical Replication