Re: recovery_target_action=pause with confusing hint

Поиск
Список
Период
Сортировка
От movead.li@highgo.ca
Тема Re: recovery_target_action=pause with confusing hint
Дата
Msg-id 20200401175611855203128@highgo.ca
обсуждение исходный текст
Ответ на recovery_target_action=pause with confusing hint  (Sergei Kornilov <sk@zsrv.org>)
Ответы Re: recovery_target_action=pause with confusing hint
Список pgsql-hackers

>This happens because the startup process detects the trigger file
>after pg_wal_replay_pause() succeeds, and then make the recovery
>get out of the paused state. 
Yes that is.

>It might be problematic to end the paused
>state silently? So, to make the situation less confusing, what about
>emitting a log message when ending the paused state because of
>the promotion?
But where to emit it? I think it not so good by emitting to log file,
because the user will not check it everytime. BTW, why
CheckForStandbyTrigger() can not be called in backend.


Regards,
Highgo Software (Canada/China/Pakistan)
URL : www.highgo.ca
EMAIL: mailto:movead(dot)li(at)highgo(dot)ca

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: recovery_target_action=pause with confusing hint
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: recovery_target_action=pause with confusing hint