[GENERAL] Hot standby failing with page # of relation # is uninitialized

Поиск
Список
Период
Сортировка
От Adrian Heath
Тема [GENERAL] Hot standby failing with page # of relation # is uninitialized
Дата
Msg-id a46709a5-3c41-7acb-1db0-60a317283795@tracktrans.com
обсуждение исходный текст
Список pgsql-general
Debian Stretch AMD-64, Postgresql 9.6.3

Streaming data from live server and we see these messages on the hot standby server.

2017-09-06 14:42:09 BST    11548 WARNING:  page 30558 of relation base/2497261/2504373 is uninitialized
2017-09-06 14:42:09 BST    11548 CONTEXT:  xlog redo at 44/5E0B7CA8 for Heap2/VISIBLE: cutoff xid 29182314 flags 1
2017-09-06 14:42:09 BST    11548 PANIC:  WAL contains references to invalid pages
2017-09-06 14:42:09 BST    11548 CONTEXT:  xlog redo at 44/5E0B7CA8 for Heap2/VISIBLE: cutoff xid 29182314 flags 1
2017-09-06 14:42:09 BST    11545 LOG:  startup process (PID 11548) was terminated by signal 6: Aborted
2017-09-06 14:42:09 BST    11545 LOG:  terminating any other active server processes

Have to resync the files on the hot standby, restart the standby and streaming continues but then stops again a few days later.

No obvious data corruptions as pg_dump generates backups on the effected databases and users are accessing the live server without issue.
I think it is a timing issue in the generation of the WAL's as if we run a vacuum/analyse/pg_dump on the live server against the effected tables no errors/issues are reported in the log.

Any help gratefully received.

Adrian Heath
TrackTrans Limited

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Heath
Дата:
Сообщение: [GENERAL] Hot standby failing with page # of relation # is unintitialized
Следующее
От: Robert Inder
Дата:
Сообщение: [GENERAL] Confused about max_standby_streaming_delay