[BUGS] BUG #14803: use receiverPtr as the endptr to call KeepLogSeg(endptr,&_logSegNo) in CreateRestartPoint
В списке pgsql-bugs по дате отправления:
| От | bret.shao@outlook.com |
|---|---|
| Тема | [BUGS] BUG #14803: use receiverPtr as the endptr to call KeepLogSeg(endptr,&_logSegNo) in CreateRestartPoint |
| Дата | |
| Msg-id | 20170907051056.25634.72330@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: [BUGS] BUG #14803: use receiverPtr as the endptr to callKeepLogSeg(endptr, &_logSegNo) in CreateRestartPoint
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 14803 Logged by: bret shao Email address: bret.shao@outlook.com PostgreSQL version: 9.5.7 Operating system: ubantu Description: when call KeepLogSeg to get the oldest xlog file in function CreateRestartPoint, I think the endptr shoule be the repalyPtr not the later one of receiverPtr and replayPtr.endptr = (receivePtr < replayPtr) ? replayPtr : receivePtr; Because that if the endptr is the receiverPtr, it means that may be the xlog file that is being redo will be dropped. if the file which is being needed in recover redo work is dropped then the server will down. i'm not very clear why use receiverPtr as the endptr to call KeepLogSeg(endptr, &_logSegNo); -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера