pgBackRest 1.17 commit log

v1.16: Page Checksum Improvements, CI, and Package Testing

commit   : 3cec6702e85e901ff3894e047cf5a461562b7b67    
  
author   : David Steele <[email protected]>    
date     : Thu, 2 Mar 2017 20:15:14 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 2 Mar 2017 20:15:14 -0500    

Click here for diff

Bug Fixes:  
  
* Fixed an issue where tables over 1GB would report page checksum warnings after the first segment. (Reported by Stephen Frost.)  
* Fixed an issue where databases created with a non-default tablespace would raise bogus warnings about pg_filenode.map and pg_internal.init not being page aligned. (Reported by blogh.)  
  
Refactoring:  
  
* Improved the code and tests for fileManifest() to prevent a possible race condition when files are removed by the database while the manifest is being built.  

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

Fixed an issue where databases created with a non-default tablespace would raise bogus warnings about pg_filenode.map and pg_internal.init not being page aligned.

commit   : 02730526fc1a157231293ae532882847f7015a46    
  
author   : David Steele <[email protected]>    
date     : Thu, 2 Mar 2017 13:50:29 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 2 Mar 2017 13:50:29 -0500    

Click here for diff

Reported by blogh.  

M doc/xml/release.xml
M lib/pgBackRest/Manifest.pm
M test/expect/full-synthetic-001.log
M test/expect/full-synthetic-002.log
M test/expect/full-synthetic-003.log
M test/expect/full-synthetic-004.log
M test/expect/full-synthetic-005.log
M test/expect/full-synthetic-006.log
M test/expect/full-synthetic-007.log
M test/expect/full-synthetic-008.log
M test/lib/pgBackRestTest/Full/FullSyntheticTest.pm

Archive test improvements:

commit   : 5957f8566f1f8cd90964423321660e457fab57b7    
  
author   : David Steele <[email protected]>    
date     : Thu, 2 Mar 2017 11:47:23 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 2 Mar 2017 11:47:23 -0500    

Click here for diff

* Fixed flapping archive-stop test with testResult() retries.  
* Added final test of archive contents to archive-push test.  

M doc/xml/release.xml
M test/expect/archive-stop-001.log
M test/expect/archive-stop-002.log
M test/expect/archive-stop-003.log
M test/expect/archive-stop-004.log
M test/expect/archive-stop-005.log
M test/expect/archive-stop-006.log
M test/lib/pgBackRestTest/Archive/ArchivePushTest.pm
M test/lib/pgBackRestTest/Archive/ArchiveStopTest.pm

Improved truncation when outputting errors logs in the ExecuteTest module.

commit   : 5eb585c9bae50e02ac5d53d3e20d0b5083283ac9    
  
author   : David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 14:38:05 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 14:38:05 -0500    

Click here for diff

M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/ExecuteTest.pm

Fixed an issue where tables over 1GB would report page checksum errors after the first segment.

commit   : c2666cc7f365fbd294b36dbcf5b11676bbcbf0d1    
  
author   : David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 14:15:46 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 14:15:46 -0500    

Click here for diff

Reported by Stephen Frost.  

M doc/xml/release.xml
M lib/pgBackRest/BackupFile.pm
M test/expect/full-synthetic-001.log
M test/expect/full-synthetic-002.log
M test/expect/full-synthetic-003.log
M test/expect/full-synthetic-004.log
M test/expect/full-synthetic-005.log
M test/expect/full-synthetic-006.log
M test/expect/full-synthetic-007.log
M test/expect/full-synthetic-008.log
M test/lib/pgBackRestTest/Full/FullSyntheticTest.pm

Fixed dev version string in Debian changelog.

commit   : 774b243719675a27e0d4f02369df7cb0bdac6524    
  
author   : David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 12:22:47 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 12:22:47 -0500    

Click here for diff

M test/test.pl

Fixed Vagrantfile to match user/group changes made for Travis CI.

commit   : 2c48cf8d0d4a4049ffcb8e01549f080bccfcc037    
  
author   : David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 09:36:33 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 1 Mar 2017 09:36:33 -0500    

Click here for diff

M test/Vagrantfile

Temporarily disable flapping keep-alive test.

commit   : 8161ab1c505f811b8aeb8ca33a57133411c4b755    
  
author   : David Steele <[email protected]>    
date     : Sun, 26 Feb 2017 12:58:48 -0500    
  
committer: David Steele <[email protected]>    
date     : Sun, 26 Feb 2017 12:58:48 -0500    

Click here for diff

M doc/xml/release.xml
M test/lib/pgBackRestTest/Full/FullSyntheticTest.pm

Disable CI config writing with —no-ci-config.

commit   : abe0935ea51a78f182549a82b62ca3e1964fe877    
  
author   : David Steele <[email protected]>    
date     : Sun, 26 Feb 2017 12:53:41 -0500    
  
committer: David Steele <[email protected]>    
date     : Sun, 26 Feb 2017 12:53:41 -0500    

Click here for diff

M test/test.pl

Change —retry default to 0.

commit   : ac485cc3552f3b1e35baebaa0140236bf550c6a8    
  
author   : David Steele <[email protected]>    
date     : Wed, 22 Feb 2017 18:43:10 -0500    
  
committer: David Steele <[email protected]>    
date     : Wed, 22 Feb 2017 18:43:10 -0500    

Click here for diff

M test/test.pl

Added --retry option.

commit   : 31d2d790bd070e2b58a192cb56f6b04cdd307a6f    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 22:10:02 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 22:10:02 -0500    

Click here for diff

M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/JobTest.pm
M test/test.pl

Make package tests work with dev builds.

commit   : 023578c008dec24000c268f29cda25dc2948a86a    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 14:22:03 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 14:22:03 -0500    

Click here for diff

M .travis.yml
M test/lib/pgBackRestTest/Common/CiTest.pm
M test/test.pl

Suppress lint on all but the first test.

commit   : 0e9bc513c986140f9bc239dc4b1d3f54c46444a5    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 12:54:27 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 12:54:27 -0500    

Click here for diff

M .travis.yml
M test/lib/pgBackRestTest/Common/CiTest.pm

Improved the code and tests for fileManifest().

commit   : 14ca4dac6fe9ab594c0915486f88ff27f4a5dc7d    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 11:56:55 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 11:56:55 -0500    

Click here for diff

Done to prevent a possible race condition when files are removed by the database while the manifest is being built.  

M doc/xml/release.xml
M lib/pgBackRest/FileCommon.pm
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibC.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/File/FileManifestTest.pm

Improved formatting of testResult() output.

commit   : 01312f6260e4f36541d90b5f62be1cbbe6847d13    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 11:47:45 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 11:47:45 -0500    

Click here for diff

M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/JobTest.pm
M test/lib/pgBackRestTest/Common/RunTest.pm

Continuous integration using travis-ci.

commit   : 86fee3da18e2646705fdac8853ae4153689d6484    
  
author   : David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 08:59:23 -0500    
  
committer: David Steele <[email protected]>    
date     : Tue, 21 Feb 2017 08:59:23 -0500    

Click here for diff

A .travis.yml
M doc/xml/release.xml
M doc/xml/user-guide.xml
M test/expect/full-synthetic-001.log
M test/expect/full-synthetic-002.log
M test/expect/full-synthetic-003.log
M test/expect/full-synthetic-004.log
M test/expect/full-synthetic-005.log
M test/expect/full-synthetic-006.log
M test/expect/full-synthetic-007.log
M test/expect/full-synthetic-008.log
A test/lib/pgBackRestTest/Common/CiTest.pm
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/Host/HostBackupTest.pm
M test/lib/pgBackRestTest/Common/Host/HostBaseTest.pm
M test/lib/pgBackRestTest/Common/Host/HostDbSyntheticTest.pm
M test/lib/pgBackRestTest/Common/Host/HostDbTest.pm
M test/lib/pgBackRestTest/Common/HostTest.pm
A test/lib/pgBackRestTest/Common/JobTest.pm
M test/lib/pgBackRestTest/Common/ListTest.pm
M test/lib/pgBackRestTest/Common/LogTest.pm
M test/lib/pgBackRestTest/Common/VmTest.pm
M test/lib/pgBackRestTest/Full/FullSyntheticTest.pm
M test/test.pl

Added package builds to test suite and other improvements:

commit   : 56543f7a9916b554204572fb015a24a33c0f74f0    
  
author   : David Steele <[email protected]>    
date     : Fri, 17 Feb 2017 22:31:16 -0500    
  
committer: David Steele <[email protected]>    
date     : Fri, 17 Feb 2017 22:31:16 -0500    

Click here for diff

* Automated builds of Debian packages for all supported distributions.  
* Added --dev option to aggregate commonly used dev options.  
* Added --no-package option to skip package builds.  
* C library and packages are built by default, added -smart option to rebuild only when file changes are detected.  
* The --libc-only option has been changed to --build-only now that packages builds have been added.  

M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/VmTest.pm
M test/test.pl

Container executions now load the user's environment.

commit   : ac7ff755b3533181f7f26a7140cbdefa1cb68442    
  
author   : David Steele <[email protected]>    
date     : Thu, 16 Feb 2017 17:18:48 -0500    
  
committer: David Steele <[email protected]>    
date     : Thu, 16 Feb 2017 17:18:48 -0500    

Click here for diff

M doc/lib/BackRestDoc/Common/DocExecute.pm
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/HostTest.pm
M test/lib/pgBackRestTest/Common/LogTest.pm