RE: Newly created replication slot may be invalidated by checkpoint

Поиск
Список
Период
Сортировка
Искать
От
Hayato Kuroda (Fujitsu)
Тема
RE: Newly created replication slot may be invalidated by checkpoint
Дата
Msg-id
OSCPR01MB149661FA366D017DF7CAB0D12F5CFA@OSCPR01MB14966.jpnprd01.prod.outlook.com
Ответ на
Список
Дерево обсуждения
Newly created replication slot may be invalidated by checkpoint "suyu.cmj" <mengjuan.cmj@alibaba-inc.com>
Re: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
Re: Newly created replication slot may be invalidated by checkpoint Alexander Korotkov <aekorotkov@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Masahiko Sawada <sawada.mshk@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Masahiko Sawada <sawada.mshk@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Masahiko Sawada <sawada.mshk@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Masahiko Sawada <sawada.mshk@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Masahiko Sawada <sawada.mshk@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Masahiko Sawada <sawada.mshk@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint vignesh C <vignesh21@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Chao Li <li.evan.chao@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Alexander Korotkov <aekorotkov@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Alexander Korotkov <aekorotkov@gmail.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: Newly created replication slot may be invalidated by checkpoint "Vitaly Davydov" <v.davydov@postgrespro.ru>
RE: Newly created replication slot may be invalidated by checkpoint "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Newly created replication slot may be invalidated by checkpoint Amit Kapila <amit.kapila16@gmail.com>
Re: Newly created replication slot may be invalidated by checkpoint "蔡梦娟(玊于)" <mengjuan.cmj@alibaba-inc.com>
Dear Amit,

> We need to check whether a similar change is required in
> reserve_wal_for_local_slot() as well for sync slots.

Good point. I confirmed similar issue could happen while synchronizing slots.
PSA the reproducer.

0001-PG17... patch simulates the issue that WAL segments were discarded in-between
slot's restart_lsn is set and the pointed record is being protected. Can be
applied atop PG17.
0001-HEAD... patch simulates the issue that restart_lsn obtained from primary is
discarded on standby. This can be applied atop HEAD.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

В списке pgsql-hackers по дате отправления
От: Peter Smith
Дата:
Сообщение: Re: Is this a typo?
От: shveta malik
Дата:
FAQ