Re: Streaming replication on win32, still broken

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Streaming replication on win32, still broken
Дата
Msg-id 9837222c1002160220l2ccec5aaqfccb55748c1c4892@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming replication on win32, still broken  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Streaming replication on win32, still broken  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
2010/2/16 Fujii Masao <masao.fujii@gmail.com>:
> 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.

Thanks!

I will be somewhat spottily available over the next two days due to
on-site work with clients.

Let me know if you would be helped by some details of how to get a
(somewhat faster) EC2 image up and running with MSVC to test on :-)

-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication on win32, still broken
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Explain buffers display units.