Re: Synchronizing slots from primary to standby
От | Peter Smith |
---|---|
Тема | Re: Synchronizing slots from primary to standby |
Дата | |
Msg-id | CAHut+Ps35y0qnDHKWuNRFkwPsbqZ0rg+WS5gZ+uaYSQMc8rzig@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Synchronizing slots from primary to standby (shveta malik <shveta.malik@gmail.com>) |
Ответы |
RE: Synchronizing slots from primary to standby
Re: Synchronizing slots from primary to standby |
Список | pgsql-hackers |
A review comment for v47-0001 ====== src/backend/replication/slot.c 1. GetStandbySlotList +static void +WalSndRereadConfigAndReInitSlotList(List **standby_slots) +{ + char *pre_standby_slot_names; + + ProcessConfigFile(PGC_SIGHUP); + + /* + * If we are running on a standby, there is no need to reload + * standby_slot_names since we do not support syncing slots to cascading + * standbys. + */ + if (RecoveryInProgress()) + return; Should the RecoveryInProgress() check be first -- even before the ProcessConfigFile call? ====== Kind Regards, Peter Smith. Fujitsu Australia
В списке pgsql-hackers по дате отправления: