From: | Michael Harris <michael(dot)harris(at)ericsson(dot)com> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net>, amutu <zhao6014(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Hot Standby has PANIC: WAL contains references to invalid pages |
Date: | 2013-02-08 00:19:38 |
Message-ID: | 30BC62DC16C7B842A8446ED8EB2F04390699BF@ESGSCMB105.ericsson.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
We suspect the problem is not in that area, because we used pg_basebackup on the same database pair under 9.1 and did not have any such problems.
Looking at the context of the crashes, they seem to relate to handling of visibility maps during WAL replay. Going by the 9.2 release notes that is an area that was changed to allow index-only scans in 9.2.
Also, we can see that 9.2.3 has been released now and has a number of fixes relating to WAL replay, so we have decided to try again using that. We will scrub the standby and make a fresh copy using pg_basebackup. If that doesn't work then we may try using rsync instead.
We'll let you all know the result.
Regards // Mike
-----Original Message-----
From: Magnus Hagander [mailto:magnus(at)hagander(dot)net]
Sent: Thursday, 7 February 2013 11:49 PM
To: amutu
Cc: Michael Harris; pgsql-general(at)postgresql(dot)org; Hari Babu
Subject: Re: [GENERAL] Hot Standby has PANIC: WAL contains references to invalid pages
On Thu, Feb 7, 2013 at 7:39 AM, amutu <zhao6014(at)gmail(dot)com> wrote:
> maybe pg_basebackup can`t handle such big database.try
> rsync,pg_start_backup,rsync,pg_stop_backup,it always works fine for
> us.our instance is about 2TB and we use pg9.1.x.
It really should handle that without problem, but sure, it might be worth trying that one. If you can show that the problem is in pg_basebackup, that's a very clear bug (either in pg_basebackup or in the backend supporting code), so that would be good to know.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Anoop K | 2013-02-08 04:04:27 | Re: REINDEX deadlock - Postgresql -9.1 |
Previous Message | Jake Stride | 2013-02-07 23:25:40 | Re: WARNING: pgstat wait timeout |