Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block
Дата
Msg-id 20140702110944.GL21169@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block  ("Burgess, Freddie" <FBurgess@Radiantblue.com>)
Список pgsql-bugs
On 2014-07-02 14:02:27 +0300, Heikki Linnakangas wrote:
> On 07/02/2014 02:03 AM, Burgess, Freddie wrote:
> >  PostgreSQL version: 9.3.4
> >  Operating system:   rhel 6.4 linux
> >  Action: stream replication Master/Slave
> >  Description:
> >
> >Last entries in the PostgreSQL log file before the standby crashed, the primary seems unaffected
> >
> >LOG: restored log file "0000000100001127000000cc" from archive
> >FATAL: invalid page in block 464698 of relation pg_tblspc/16435/PG_9.3_201306121/16444/125127698
> >CONTEXT: xlog redo vacuum: rel 16435/16444/125127698; blk 512019, lastBlockVacuumed 0
> >LOG: startup process (PID 27797) exited with exit code 1
> >LOG: terminating any other active server processes
> >
> >We did re-started the database and the process of restoring the log file has continued beyond this point, but is are
standbyserver corrupted? 

Do you run with data checksums enabled?

> Sounds exactly like this bug:
>
> http://www.postgresql.org/message-id/flat/CAL_0b1s4QCkFy_55kk_8XWcJPs7wsgVWf8vn4=jXe6V4R7Hxmg@mail.gmail.com
>
> but that was fixed in 9.3.3 already. Are you sure you're running 9.3.4 in
> the standby too?

Hm - that bug was about uninitialized pages, not invalid ones. I don't
immediately see why it'd be legal to have a invalid page (as in
!PageIsVerified()) somewhere? At least not after reaching consistency.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: BUG #10675: alter database set tablespace and unlogged table