Re: Fix logical decoding not track transaction during SNAPBUILD_BUILDING_SNAPSHOT

Поиск
Список
Период
Сортировка
От cca5507
Тема Re: Fix logical decoding not track transaction during SNAPBUILD_BUILDING_SNAPSHOT
Дата
Msg-id tencent_D87842071E760BA15D8537B5922954326808@qq.com
обсуждение исходный текст
Ответ на Re: Fix logical decoding not track transaction duringSNAPBUILD_BUILDING_SNAPSHOT  (ocean_li_996 <ocean_li_996@163.com>)
Список pgsql-hackers
Hi Haiyang,

> 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 transactions
> are always useless no matter in fast forward or not. Plaese recheck v6-0004 again.

Yeah, you're right. What's useful for building the snapshot and we currently don't track are the txns
start after BUILDING_SNAPSHOT and commit before FULL_SNAPSHOT, their xids all >= next_phase_at
during BUILDING_SNAPSHOT.

--
Regards,
ChangAo Chen

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