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.

Conflicts:
	HISTORY
This commit is contained in:
Ian Barwick
2017-03-01 14:26:39 +09:00
committed by Ian Barwick
parent cec01c6620
commit 72a2ac284a
2 changed files with 28 additions and 23 deletions

View File

@@ -1,10 +1,11 @@
3.3.1 2017-01-
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)