Streaming replication bug in 9.3.2, "WAL contains references to invalid pages"

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Streaming replication bug in 9.3.2, "WAL contains references to invalid pages"
Дата
Msg-id 4D7FE288-4F4D-4CE6-90DC-FA621795A71A@thebuild.com
обсуждение исходный текст
Ответы Re: Streaming replication bug in 9.3.2, "WAL contains references to invalid pages"  ("MauMau" <maumau307@gmail.com>)
Re: Streaming replication bug in 9.3.2, "WAL contains references to invalid pages"  (Sergey Konoplev <gray.ru@gmail.com>)
Список pgsql-hackers
Greetings,

We've had two clients experience a crash on the secondary of a streaming replication pair, running PostgreSQL 9.3.2.
Inboth cases, the messages were close to this example: 

2013-12-30 18:08:00.464 PST,,,23869,,52ab4839.5d3d,16,,2013-12-13 09:47:37 PST,1/0,0,WARNING,01000,"page 45785 of
relationbase/236971/365951 is uninitialized",,,,,"xlog redo vacuum: rel 1663/236971/365951; blk 45794,
lastBlockVacuumed45784",,,,"" 
2013-12-30 18:08:00.465 PST,,,23869,,52ab4839.5d3d,17,,2013-12-13 09:47:37 PST,1/0,0,PANIC,XX000,"WAL contains
referencesto invalid pages",,,,,"xlog redo vacuum: rel 1663/236971/365951; blk 45794, lastBlockVacuumed 45784",,,,"" 
2013-12-30 18:08:00.950 PST,,,23866,,52ab4838.5d3a,8,,2013-12-13 09:47:36 PST,,0,LOG,00000,"startup process (PID 23869)
wasterminated by signal 6: Aborted",,,,,,,,,"" 

In both cases, the indicated relation was a primary key index.  In one case, rebuilding the primary key index caused
theproblem to go away permanently (to date).  In the second case, the problem returned even after a full dump / restore
ofthe master database (that is, after a dump / restore of the master, and reimaging the secondary, the problem returned
atthe same primary key index, although of course with a different OID value). 

It looks like this has been experienced on 9.2.6, as well:
http://www.postgresql.org/message-id/flat/CAL_0b1s4QCkFy_55kk_8XWcJPs7wsgVWf8vn4=jXe6V4R7Hxmg@mail.gmail.com

Let me know if there's any further information I can provide.

Best,
--
-- Christophe Pettus  xof@thebuild.com




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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: missing chunk number 0 for toast value