Re: Use durable_unlink for .ready and .done files for WAL segmentremoval
Вложения
В списке pgsql-hackers по дате отправления:
| От | Stephen Frost |
|---|---|
| Тема | Re: Use durable_unlink for .ready and .done files for WAL segmentremoval |
| Дата | |
| Msg-id | 20180928183619.GF4184@tamriel.snowman.net обсуждение исходный текст |
| Ответ на | Use durable_unlink for .ready and .done files for WAL segment removal (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: Use durable_unlink for .ready and .done files for WAL segmentremoval
|
| Список | pgsql-hackers |
Greetings, * Michael Paquier (michael@paquier.xyz) wrote: > While reviewing the archiving code, I have bumped into the fact that > XLogArchiveCleanup() thinks that it is safe to do only a plain unlink() > for .ready and .done files when removing a past segment. I don't think > that it is a smart move, as on a subsequent crash we may still see > those, but the related segment would have gone away. This is not really > a problem for .done files, but it could confuse the archiver to see some > .ready files about things that have already gone away. Is there an issue with making the archiver able to understand that situation instead of being confused by it..? Seems like that'd probably be a good thing to do regardless of this, but that would then remove the need for this kind of change.. Thanks! Stephen
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера