Re: Streaming replication on win32, still broken - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Streaming replication on win32, still broken
Date
Msg-id 3f0b79eb1002160156h232fb56ka29d69c668fa80a2@mail.gmail.com
Whole thread Raw
In response to Streaming replication on win32, still broken  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Streaming replication on win32, still broken
List pgsql-hackers
On Tue, Feb 16, 2010 at 12:37 AM, Magnus Hagander <magnus@hagander.net> wrote:
> With the libpq fixes, I get further (more on that fix later, btw), but
> now I get stuck in this. When I do something on the master that
> generates WAL, such as insert a record, and then try to query this on
> the slave, the walreceiver process crashes with:
>
> PANIC:  XX000: could not write to log file 0, segment 9 at offset 0, length 160:
>  Invalid argument
> LOCATION:  XLogWalRcvWrite, .\src\backend\replication\walreceiver.c:487
>
> I'll keep digging at the details, but if somebody has a good idea here.. ;)

Yeah, this problem was reproduced in my (very slow :-( ) MinGW environment, too.
Though I've not idenfied the cause yet, I guess that it derives from wrong use
of the type of local variables in XLogWalRcvWrite(). I'll continue investigation
of it.

Regards,

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


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: bug? autovacuum is not launched even if autovacuum_freeze_max_age is reached
Next
From: Magnus Hagander
Date:
Subject: Re: Streaming replication on win32, still broken