Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT
| От | ocean_li_996 |
|---|---|
| Тема | Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT |
| Дата | |
| Msg-id | 22629b65.34f0.19aac508585.Coremail.ocean_li_996@163.com обсуждение исходный текст |
| Ответ на | Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT ("cca5507" <cca5507@qq.com>) |
| Ответы |
Re: Fix logical decoding not track transaction during SNAPBUILD_BUILDING_SNAPSHOT
|
| Список | pgsql-hackers |
Hi ChaoAo,
At 2025-11-22 18:34:23, "cca5507" <cca5507@qq.com> wrote: >One important thing is that we must not skip any call to ReorderBufferXidSetCatalogChanges() (direct or indirect) during fast-forwarding or building snapshot, because the historic snapshot only tracks txns with catalog changes, the v6-0004 seems to skip it in xact_decode().>v6-0004 only skip the transaction commited during START state and precedeing next_phase_at(set when changing to BUILDING_SNAPSHOT state) during BUILDING_SNAPSHOT. Those transactionsare always useless no matter in fast forward or not. Plaese recheck v6-0004 again.>Here is a related bug: > >https://www.postgresql.org/message-id/flat/tencent_3A071B760AA1A38540B57F297332B7781C08%40qq.com >Yeah, I have researched that issue. I think your analyze is correct for me. But it isindependent of this thread. Let's discuss it in thread where the issues belongs to.Best regards,Haiyang Li
В списке pgsql-hackers по дате отправления: