pgBackRest 1.28 commit log

v1.27: Bug Fixes and Documentation

commit   : 103dcee0c541cb524e4928e8da50c14d154d1c6e    
  
author   : David Steele <[email protected]>    
date     : Tue, 19 Dec 2017 18:46:44 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 19 Dec 2017 18:46:44 -0500    

Click here for diff

Bug Fixes:  
  
* Fixed an issue that suppressed locality errors for backup and restore. When a backup host is present, backups should only be allowed on the backup host and restores should only be allowed on the database host unless an alternate configuration is created that ignores the remote host. (Reported by Lardière Sébastien.)  
* Fixed an issue where WAL was not expired on PostgreSQL 10. This was caused by a faulty regex that expected all PostgreSQL major versions to be X.X. (Reported by Adam Brusselback.)  
* Fixed an issue where the --no-config option was not passed to child processes. This meant the child processes would still read the local config file and possibly cause unexpected behaviors.  
* Fixed info command to eliminate "db (prior)" output if no backups or archives exist for a prior version of the cluster. (Fixed by Cynthia Shang. Reported by Stephen Frost.)  

M README.md
M doc/resource/exe.cache
M doc/xml/release.xml
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibCAuto.pm

Fixed info command to eliminate "db (prior)" output if no backups or archives exist for a prior version of the cluster.

commit   : e8a0e44ea7ea3f19f84ad6aade55fc35d219b48c    
  
author   : Cynthia Shang <[email protected]>    
date     : Tue, 19 Dec 2017 15:39:39 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 19 Dec 2017 15:39:39 -0500    

Click here for diff

Fixed by Cynthia Shang.  
Reported by Stephen Frost.  

M doc/xml/release.xml
M lib/pgBackRest/Info.pm
M test/lib/pgBackRestTest/Module/Info/InfoUnitTest.pm

No longer run release/1 branch through CI.

commit   : 70e992fdcc61e7289608824d7a342bc19d70cbd1    
  
author   : David Steele <[email protected]>    
date     : Tue, 19 Dec 2017 15:53:56 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 19 Dec 2017 15:53:56 -0500    

Click here for diff

The release/1-integration branch will be run through CI and then pushed to release/1 with github status checks.  

M .travis.yml
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/CiTest.pm

Fixed an issue where WAL was not expired on PostgreSQL 10.

commit   : 67c8f0dc5b8264f3ac3622cbf70f1d8496d256ed    
  
author   : David Steele <[email protected]>    
date     : Mon, 18 Dec 2017 18:51:19 -0500    
  
committer: David Steele <[email protected]>    
date     : Mon, 18 Dec 2017 18:51:19 -0500    

Click here for diff

This was caused by a faulty regex that expected all PostgreSQL major versions to be X.X.  
  
Reported by Adam Brusselback.  

M doc/xml/release.xml
M lib/pgBackRest/Archive/Common.pm
M lib/pgBackRest/Expire.pm
M test/expect/expire-expire-002.log
M test/lib/pgBackRestTest/Module/Expire/ExpireExpireTest.pm

Update command-line help from commits b36d3a48 and 4e256f50.

commit   : 5e6e125bf02ccace0981b38e45b53040b3ac5926    
  
author   : David Steele <[email protected]>    
date     : Mon, 18 Dec 2017 18:36:58 -0500    
  
committer: David Steele <[email protected]>    
date     : Mon, 18 Dec 2017 18:36:58 -0500    

Click here for diff

M lib/pgBackRest/Config/ConfigHelpData.pm

Fixed an issue where the --no-config option was not passed to child processes.

commit   : 409ff841222f8064f51c9a9b413d0dbfddf2050b    
  
author   : David Steele <[email protected]>    
date     : Mon, 18 Dec 2017 18:34:13 -0500    
  
committer: David Steele <[email protected]>    
date     : Mon, 18 Dec 2017 18:34:13 -0500    

Click here for diff

This meant the child processes would still read the local config file and possibly cause unexpected behaviors.  

M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Module/Config/ConfigOptionTest.pm

Sync time to prevent build failures when running on VirtualBox.

commit   : e4f5602f0f8f5dc89cfd2d5c186489d98a18c6c1    
  
author   : David Steele <[email protected]>    
date     : Mon, 27 Nov 2017 22:16:24 -0500    
  
committer: David Steele <[email protected]>    
date     : Mon, 27 Nov 2017 22:16:24 -0500    

Click here for diff

M doc/xml/release.xml
M test/test.pl

Document the relationship between the archive-copy and archive-check options.

commit   : 4e256f50b1b7896e5d021ff502b5e7995d74bce9    
  
author   : David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 10:01:44 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 10:01:44 -0500    

Click here for diff

Suggested by Markus Nullmeier.  

M doc/xml/reference.xml
M doc/xml/release.xml

Improve archive-copy reference documentation.

commit   : b36d3a48884c0323a5fbc9a518cd6b4ff16972dd    
  
author   : David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:52:56 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:52:56 -0500    

Click here for diff

M doc/xml/reference.xml
M doc/xml/release.xml

Fixed an issue that suppressed locality errors for backup and restore.

commit   : cd8f2d3af2ef8c3abf2d0e457f24900ebfa809c5    
  
author   : David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:44:14 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:44:14 -0500    

Click here for diff

When a backup host is present, backups should only be allowed on the backup host and restores should only be allowed on the database host unless an alternate configuration is created that ignores the remote host.  
  
Reported by Lardière Sébastien.  

M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm
M lib/pgBackRest/Config/Data.pm
M src/config/define.auto.c
M test/expect/mock-all-002.log
M test/lib/pgBackRestTest/Module/Config/ConfigOptionTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm

Allow internal options that do not show up in the documentation.

commit   : 6204141f5160b2c9f4da95d8a8a20e0ec58df40c    
  
author   : David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:19:10 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:19:10 -0500    

Click here for diff

Used for test options initially but other use cases are on the horizon.  

M doc/lib/BackRestDoc/Common/DocConfig.pm
M doc/xml/release.xml
M lib/pgBackRest/Config/Data.pm

Move restore test infrastructure to HostBackup.pm.

commit   : b36b98bf726a991ffe4b50ea4ec2eda16784b703    
  
author   : David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:11:41 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 09:11:41 -0500    

Click here for diff

Required to test restores on the backup server, a fairly common scenario.  
  
Improve the restore function to accept optional parameters rather than a long list of parameters. In passing, clean up extraneous use of strType and strComment variables.  

M doc/xml/release.xml
M test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm

Update CI branches to release/1 and release/1-integration.

commit   : 08d8c915d3f40c0728cdf6cebb30f72ff2b26c37    
  
author   : David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 08:59:13 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 13 Dec 2017 08:59:13 -0500    

Click here for diff

M .travis.yml
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/CiTest.pm

Add memGrowRaw() to memory context module.

commit   : c164fc5fb906d73fcc4d5dcfd960d62caa57effb    
  
author   : David Steele <[email protected]>    
date     : Sun, 26 Nov 2017 12:22:50 -0500    
  
committer: David Steele <[email protected]>    
date     : Sun, 26 Nov 2017 12:22:50 -0500    

Click here for diff

M doc/xml/release.xml
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibCAuto.pm
M src/common/memContext.c
M src/common/memContext.h
M test/src/module/common/memContextTest.c

Split "refactor" sections into "improvements" and "development" in the release notes.

commit   : c360ca5a08ecd812610a0a26414e650da6b4b50e    
  
author   : David Steele <[email protected]>    
date     : Sat, 25 Nov 2017 20:32:35 -0500    
  
committer: David Steele <[email protected]>    
date     : Sat, 25 Nov 2017 20:32:35 -0500    

Click here for diff

Many development notes are not relevant to users and simply clutter the release notes, so they are no longer shown on the website.  

M doc/lib/BackRestDoc/Common/DocRender.pm
M doc/lib/BackRestDoc/Custom/DocCustomRelease.pm
M doc/xml/dtd/doc.dtd
M doc/xml/release.xml

Relax permissions set by release.pl.

commit   : 13893a97313757162e061b855bbd494abdbec8ce    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Nov 2017 19:52:56 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Nov 2017 19:52:56 -0500    

Click here for diff

M doc/release.pl
M doc/xml/release.xml