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