From: | <furuyao(at)pm(dot)nttdata(dot)co(dot)jp> |
---|---|
To: | <pgsql-hackers(at)postgresql(dot)org> |
Cc: | <teranishih(at)nttdata(dot)co(dot)jp> |
Subject: | pg_receivexlog --status-interval add fsync feedback |
Date: | 2014-08-12 09:19:58 |
Message-ID: | A9C510524E235E44AE909CD4027AE196BF7C70D18C@MBX-MSG-SV03.msg.nttdata.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
This patch is to add setting to send status packets after fsync to --status-interval of pg_receivexlog.
If -1 is specified to --status-interval, status packets is sent as soon as after fsync.
Others are the same as when 0 is specified to --status-interval.
When requested by the server, send the status packet.
To use replication slot, and specify -1 to --fsync-interval.
As a result, simple WAL synchronous replication can be performed.
In simple WAL synchronization, it is possible to test the replication.
If there was F/O in synchronous replication,
it is available in the substitute until standby is restored.
Regards,
--
Furuya Osamu
Attachment | Content-Type | Size |
---|---|---|
pg_receivexlog-fsync-feedback-v1.patch | application/octet-stream | 9.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2014-08-12 09:27:58 | Re: pg_receivexlog add synchronous mode |
Previous Message | Fujii Masao | 2014-08-12 09:19:24 | Re: minor pgbench doc fix |