Re: BUG #4879: bgwriter fails to fsync the file in recovery mode
В списке pgsql-bugs по дате отправления:
| От | Simon Riggs |
|---|---|
| Тема | Re: BUG #4879: bgwriter fails to fsync the file in recovery mode |
| Дата | |
| Msg-id | 1245947271.4038.162.camel@ebony.2ndQuadrant обсуждение исходный текст |
| Ответ на | Re: BUG #4879: bgwriter fails to fsync the file in recovery mode (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Список | pgsql-bugs |
On Thu, 2009-06-25 at 19:20 +0300, Heikki Linnakangas wrote: > Simon Riggs wrote: > > > But we need to set LocalRecoveryInProgress appropriately > > also. > > Yeah, the trouble is to tell bgwriter that it's OK for it to create the > checkpoint, which includes writing a WAL record, while still keeping the > system "in-recovery" for all other purposes. While we could just relax > the checks, that seems like a very important safeguard. > > (I posted in the other mail to do a restartpoint before the startup > process does the checkpoint) I think we're in strong agreement, just thinking and writing emails in realtime gives a few race conditions... your patch covers everything I mentioned above. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера