Re: Synchronous replication patch v2
От | Fujii Masao |
---|---|
Тема | Re: Synchronous replication patch v2 |
Дата | |
Msg-id | 3f0b79eb0811171908q2434a0bfrda0964987bb1a83a@mail.gmail.com обсуждение исходный текст |
Ответ на | Synchronous replication patch v2 ("Fujii Masao" <masao.fujii@gmail.com>) |
Ответы |
Comments to Synchronous replication patch v3
|
Список | 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
Вложения
В списке pgsql-hackers по дате отправления: