Re: Synchronous replication patch v2 - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Synchronous replication patch v2
Date
Msg-id 3f0b79eb0811171908q2434a0bfrda0964987bb1a83a@mail.gmail.com
Whole thread Raw
In response to Synchronous replication patch v2  ("Fujii Masao" <masao.fujii@gmail.com>)
Responses Comments to Synchronous replication patch v3
List pgsql-hackers
Hi,

On Fri, Nov 14, 2008 at 7:15 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Hi,
>
> Attached is the latest version of Synch Rep patch. Sorry for my late posting.
> I fixed some bugs in v1patch and integrated walreceiver into core. Attached
> contain some patches:

Attached is v3 of Synch Rep patch. I changed the signal handling, as
pointed out in another thread.
http://archives.postgresql.org/pgsql-hackers/2008-11/msg01041.php

Other changes are;

* In v2, whenever XLogSend sent the WAL, it was initializing StringInfo,
   but since it's useless, I changed it so that one StringInfo might be
   used.

* In v2, since the WAL files were not recycled in the standby, fsynch by
   walreceiver when initializing the WAL files (XLogFileInit) was one of
   the bottleneck. So, I made the bgwriter recycle the old WAL files when
   creating the restart point, and the startup process recycle the restored
   file (RECOVERYXLOG) when trying to remove it.

Regards,

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

Attachment

pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: auto_explain contrib moudle