Skip site navigation (1) Skip section navigation (2)

Re: testing cvs HEAD - HS/SR - missing file

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: testing cvs HEAD - HS/SR - missing file
Date: 2010-01-27 03:46:32
Message-ID: 3f0b79eb1001261946s5c3d4ae0t24297c0da0508a5b@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, Jan 27, 2010 at 4:02 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> This is the bug of SR :( I think that walsender wrongly treats the WAL-boundary.

The attached patch would fix this bug.

>> pgsql.sr_slave02/logfile:ERROR:  could not read xlog records: FATAL:  could not open file
>> "pg_xlog/0000000100000001000000FF" (log file 1, segment 255): No such file or directory
>> pgsql.sr_slavery/logfile:ERROR:  could not read xlog records: FATAL:  could not open file
>> "pg_xlog/0000000100000001000000FF" (log file 1, segment 255): No such file or directory
>
> Also the ReadRecord() or its surrounding functions seem to have treated
> wrongly the WAL-boundary.

Oops! I've misread the log messages. This is not the bug.
Because of the FATAL error from the primary, the standby
seems to just emit an ERROR message, and exit.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment: sr_xlogid_boundary.patch
Description: text/x-patch (431 bytes)

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-01-27 06:14:16
Subject: Re: Add on_perl_init and proper destruction to plperl [PATCH]
Previous:From: Josh BerkusDate: 2010-01-27 02:35:52
Subject: Re: Patch: psql \whoami option

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group