Re: BUG #17054: Memory corruption in logical replication worker when replicating into partitioned table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17054: Memory corruption in logical replication worker when replicating into partitioned table
Дата
Msg-id 2061771.1623443489@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17054: Memory corruption in logical replication worker when replicating into partitioned table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> PG Bug reporting form <noreply@postgresql.org> writes:
>> When logical replication target is a partitioned table then execution of any
>> DDL on source table leads to crash of target (subscriber) server.

> Thanks for the report!  I duplicated the crash on v13 branch tip,

I can't reproduce this anymore after commit b270713fd.  I think it's
probably the same thing I found while making a test for your other
report:

    logicalrep_partition_open() failed to ensure that the
    LogicalRepPartMapEntry it built for a partition was fully
    independent of that for the partition root, leading to
    trouble if the root entry was later freed or rebuilt.

My failure to see a crash on HEAD was probably an accidental
issue of memory reuse patterns.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partiti
Следующее
От: Zlatoslav Petukhov
Дата:
Сообщение: Re: BUG #17057: Unexpected error: ERROR: unsupported target type: 0