Re: Failing start-up archive recovery at Standby mode in PG9.2.4 - Mailing list pgsql-hackers

From Kyotaro HORIGUCHI
Subject Re: Failing start-up archive recovery at Standby mode in PG9.2.4
Date
Msg-id CAM103DtTF70Dr=F95h0LZhKFeHUS5J+ScUZj7xYFsa7cCb2k8g@mail.gmail.com
Whole thread Raw
In response to Re: Failing start-up archive recovery at Standby mode in PG9.2.4  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Failing start-up archive recovery at Standby mode in PG9.2.4
List pgsql-hackers
> Can you share the modified script, please?

Please find the attached files:
  test.sh : test script. most significant change is the load.
               I used simple insert instead of pgbench.
               It might need some more adjustment for other environment
               as my usual.
  xlog.c.diff : Additional log output I thought to be useful to diagnose.

> I'm not sure I understand what the problem is, though. When the standby
> opens the bogus, recycled, file in pg_xlog, it will notice that the header
> is incorrect, and retry reading the file from the archive.

It looks the corrupted header only once. It continues to make retry
without looking there after that.

> Perhaps, but it should nevertheless not get confused by recycled segments.

regards, and good night.
--
Kyotaro Horiguchi

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: 9.3 Beta1 status report
Next
From: Alvaro Herrera
Date:
Subject: Re: putting a bgworker to rest