[Pgcluster-general] new recovery rsync options, cybercluster
Rick Vernam
rickv at hobi.com
Thu Jan 17 02:33:33 UTC 2008
the attached patches (against cybercluster) allow one to specify values to be
passed to rsync during -U or -u recovery
in cluster.conf:
Rsync_Timeout corresponds to rsync's own --timeout
Rsync_BWLimit corresponds to rsync's --bwlimit
I found a low bwlimit over a slow, long distance connection allowed rsync to
finish more regularly (it had been hanging).
In the case of rsync hanging, a timeout causes rsync (and thus recovery
process) to die peacefully after some period of time, rather than just
hanging for ever.
The patch to recovery.c assumes the PGR_WITHOUT_BACKUP patch is already
applied.
http://lists.pgfoundry.org/pipermail/pgcluster-general/2008-January/001781.html
I'll be checking shortly to see if these patches apply to pgcluster - if not,
I'll post pgcluster patches also.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cluster.conf.sample.patch
Type: text/x-diff
Size: 1406 bytes
Desc: not available
Url : http://pgfoundry.org/pipermail/pgcluster-general/attachments/20080116/d7af75ac/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: replicate.h.patch
Type: text/x-diff
Size: 707 bytes
Desc: not available
Url : http://pgfoundry.org/pipermail/pgcluster-general/attachments/20080116/d7af75ac/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postmaster.c.patch
Type: text/x-diff
Size: 422 bytes
Desc: not available
Url : http://pgfoundry.org/pipermail/pgcluster-general/attachments/20080116/d7af75ac/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: replicate.c.patch
Type: text/x-diff
Size: 1211 bytes
Desc: not available
Url : http://pgfoundry.org/pipermail/pgcluster-general/attachments/20080116/d7af75ac/attachment-0003.bin
More information about the Pgcluster-general
mailing list