Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state

Поиск
Список
Период
Сортировка
От cca5507
Тема Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state
Дата
Msg-id tencent_B54A1979BC9D8332BBADD092C2B8DA829407@qq.com
обсуждение исходный текст
Ответ на Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state  (Ajin Cherian <itsajin@gmail.com>)
Ответы Re: Historic snapshot doesn't track txns committed in BUILDING_SNAPSHOT state
Список pgsql-hackers
Hi,

According to the comment above DecodeTXNNeedSkip(), transactions committed before SNAPBUILD_CONSISTENT state won't be decoded. It's important for initial table data synchronization because the table sync workers use the consistent snapshot to copy data so transactions before SNAPBUILD_CONSISTENT are already included in the initial data.

This change may be redundant with SnapBuildXactNeedsSkip(), I add just for safe.

--
Regards,
ChangAo Chen

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