pgBackRest 2.10 commit log

v2.10: Bug Fixes

commit   : 35903b94d9f2de14fb116c4b15649466eff78ef2    
  
author   : David Steele <[email protected]>    
date     : Sat, 9 Feb 2019 19:52:31 +0200    
  
committer: David Steele <[email protected]>    
date     : Sat, 9 Feb 2019 19:52:31 +0200    

Click here for diff

Bug Fixes:  
  
* Add unimplemented S3 driver method required for archive-get. (Reported by mibiio.)  
* Fix check for improperly configured pg-path. (Reported by James Chanco Jr.)  

M README.md
M doc/resource/exe.cache
M doc/xml/release.xml
M lib/pgBackRest/Version.pm
M src/perl/embed.auto.c
M src/version.h

Fix year on 2.09 release.

commit   : 51971617a82a3f58efe33dff8386bc94fe1ac628    
  
author   : David Steele <[email protected]>    
date     : Sat, 9 Feb 2019 19:01:16 +0200    
  
committer: David Steele <[email protected]>    
date     : Sat, 9 Feb 2019 19:01:16 +0200    

Click here for diff

Reported by Achilleas Mantzios.  

M doc/xml/release.xml

Add unimplemented S3 driver method required for archive-get.

commit   : 057e2e27822ffd053f735762e1441fccea24c5ed    
  
author   : David Steele <[email protected]>    
date     : Sat, 9 Feb 2019 18:57:30 +0200    
  
committer: David Steele <[email protected]>    
date     : Sat, 9 Feb 2019 18:57:30 +0200    

Click here for diff

This was not being caught because the integration tests for S3 were running remotely and going through the Perl code rather than the new C code.  
  
Implement the exists method for the S3 driver and add tests to prevent a regression.  
  
Reported by mibiio.  

M doc/xml/release.xml
M src/storage/driver/s3/storage.c
M test/expect/mock-archive-001.log
M test/expect/mock-archive-002.log
M test/expect/mock-archive-003.log
M test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm
M test/src/module/storage/s3Test.c

Fix check for improperly configured pg-path.

commit   : 6e88f93991171632f33fd1b12fc1090d4a9f02a5    
  
author   : David Steele <[email protected]>    
date     : Tue, 5 Feb 2019 18:55:07 +0200    
  
committer: David Steele <[email protected]>    
date     : Tue, 5 Feb 2019 18:55:07 +0200    

Click here for diff

The check to verify that pg-path and data_directory are equal was not working because pg-path was getting overwritten with data_directory before validation took place.  
  
Reported by James Chanco Jr.  

M doc/xml/release.xml
M lib/pgBackRest/Db.pm
M src/perl/embed.auto.c

JSON improvements.

commit   : be8f31a9524f7b6c47e52a01f89aaf9f0a65ddc2    
  
author   : David Steele <[email protected]>    
date     : Tue, 5 Feb 2019 15:34:18 +0200    
  
committer: David Steele <[email protected]>    
date     : Tue, 5 Feb 2019 15:34:18 +0200    

Click here for diff

Optimize the parser implementation and make the renderer more null tolerant.  
  
Also make some string and variant constructors null tolerant.  

M doc/xml/release.xml
M src/common/type/json.c
M src/common/type/json.h
M src/common/type/stringList.c
M src/common/type/variant.c
M src/info/infoBackup.c
M src/info/infoPg.c
M src/protocol/client.c
M test/src/module/common/typeJsonTest.c
M test/src/module/common/typeStringTest.c
M test/src/module/common/typeVariantTest.c
M test/src/module/protocol/protocolTest.c

FIx typos and missing debug param.

commit   : b3d1a2a8023adc6d1e35221dc6c3789a1b772c5c    
  
author   : David Steele <[email protected]>    
date     : Sat, 2 Feb 2019 15:18:10 +0200    
  
committer: David Steele <[email protected]>    
date     : Sat, 2 Feb 2019 15:18:10 +0200    

Click here for diff

M src/protocol/client.c
M src/protocol/client.h

Automatically adjust db-timeout when protocol-timeout is smaller.

commit   : b29a8dd9c541b755381f2e103abbe0b05fc65190    
  
author   : David Steele <[email protected]>    
date     : Sat, 2 Feb 2019 15:03:19 +0200    
  
committer: David Steele <[email protected]>    
date     : Sat, 2 Feb 2019 15:03:19 +0200    

Click here for diff

This already worked in reverse, but this case is needed when a command that only uses protocol-timeout (e.g. info) calls a remote process where protocol-timeout and db-timeout can be set.  If protocol-timeout was set to less than the default db-timeout then an error resulted.  

M doc/xml/release.xml
M src/config/load.c
M test/src/module/config/loadTest.c

Begin v2.10 development.

commit   : abc613b454f8f1aa9da5e842c5da822d26504163    
  
author   : David Steele <[email protected]>    
date     : Sat, 2 Feb 2019 14:50:24 +0200    
  
committer: David Steele <[email protected]>    
date     : Sat, 2 Feb 2019 14:50:24 +0200    

Click here for diff

M doc/xml/release.xml
M lib/pgBackRest/Version.pm
M src/perl/embed.auto.c
M src/version.h