Re: BUG #4879: bgwriter fails to fsync the file in recovery mode
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #4879: bgwriter fails to fsync the file in recovery mode |
| Дата | |
| Msg-id | 5515.1245964262@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #4879: bgwriter fails to fsync the file in recovery mode (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: BUG #4879: bgwriter fails to fsync the file in recovery
mode
|
| Список | pgsql-bugs |
Simon Riggs <simon@2ndQuadrant.com> writes:
> So, yes, there are some places where InRecovery is used in code executed
> by the bgwriter, but the correct fix is to use RecoveryIsInProgress().
Agreed, but this gets us no closer to solving the real problem, which is
that when we perform the end-of-recovery checkpoint, we need to act like
we are *not* in recovery anymore, for at least some purposes. Most
notably, to allow us to write a WAL entry at all; but I am suspicious
that pretty much every InRecovery/RecoveryIsInProgress test that that
checkpoint might execute should behave as if we're not in recovery.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера