repmgr: improve logging of rsync actions

In particular, copy_remote_files() would report any kind of non-zero
exit status from rsync as an error, even though when cloning data
directories and tablespaces we explicitly ignore the "vanished
files" status (code 24) as it's expected behaviour for files in these
locations to disappear during the rsync copy process.
This commit is contained in:
Ian Barwick
2017-03-01 14:26:39 +09:00
parent fa66c790ff
commit 5d2efe8634
2 changed files with 28 additions and 23 deletions

View File

@@ -2,13 +2,14 @@
repmgr: support --wal-method (replacing --xlog-method) for pg_basebackup
in PostgreSQL 10
3.3.1 2017-02-
3.3.1 2017-03-
repmgrd: prevent invalid apply lag value being written to the
monitoring table (Ian)
repmgrd: fix error in XLogRecPtr conversion when calculating
monitoring statistics (Ian)
repmgr: if replication slots in use, where possible delete slot on old
upstream node after following new upstream (Ian)
repmgr: improve logging of rsync actions (Ian)
3.3 2016-12-27
repmgr: always log to STDERR even if log facility defined (Ian)