Re: Check that streaming replica received all data after master shutdown
В списке pgsql-general по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Check that streaming replica received all data after master shutdown |
| Дата | |
| Msg-id | 20150113164227.GG1663@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Check that streaming replica received all data after master shutdown (Vladimir Borodin <root@simply.name>) |
| Список | pgsql-general |
Vladimir Borodin wrote: > I’m not sure that these 104 bytes will always be 104 bytes to have a > strict equality while checking. Could it change in the future? There is no promise that WAL record format stays unchanged. Sometimes we change a WAL record in a minor release. > Or is there a better way to understand that streaming replica received > all data after master shutdown? The check that pg_xlog_location_diff > returns 104 bytes seems a bit strange. I guess you could pg_xlogdump the difference and verify that it is a shutdown checkpoint record. As far as I remember there should always be one at the end of recovery. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера