Re: persist logical slots to disk during shutdown checkpoint
Вложения
В списке pgsql-hackers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: persist logical slots to disk during shutdown checkpoint |
| Дата | |
| Msg-id | ZPmAVb7fc61bRkNz@paquier.xyz обсуждение исходный текст |
| Ответ на | Re: persist logical slots to disk during shutdown checkpoint (Amit Kapila <amit.kapila16@gmail.com>) |
| Ответы |
Re: persist logical slots to disk during shutdown checkpoint
|
| Список | pgsql-hackers |
On Thu, Sep 07, 2023 at 11:56:28AM +0530, Amit Kapila wrote: > Thanks, the patch looks good to me as well. + /* This is used to track the last saved confirmed_flush LSN value */ + XLogRecPtr last_saved_confirmed_flush; This does not feel sufficient, as the comment explaining what this variable does uses the same terms as the variable name (aka it is the last save of the confirmed_lsn). Why it it here and why it is useful? In which context and/or code paths is it used? Okay, there are some explanations when saving a slot, restoring a slot or when a checkpoint processes slots, but it seems important to me to document more things in ReplicationSlot where this is defined. (Just passing by, I have not checked the patch logic in details but that looks under-documented to me.) -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера