pgBackRest 1.25 commit log

v1.25: S3 Performance Improvements

  
commit   : 85b35f30a4a4ea07e92ad5ded6ce73bc2937f0ef    
  
author   : David Steele <david@pgmasters.net>    
date     : Tue, 24 Oct 2017 17:36:21 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Tue, 24 Oct 2017 17:36:21 -0400    

Click here for diff

  
Bug Fixes:  
  
* Fix custom settings for compress-level option being ignored. (Reported by Jens Wilke.)  
* Remove error when overlapping timelines are detected. Overlapping timelines are valid in many Point-in-Time-Recovery (PITR) scenarios. (Reported by blogh.)  
* Fix instances where database-id was not rendered as an integer in JSON info output. (Fixed by Cynthia Shang. Reported by Jason O'Donnell.)  
  
Features:  
  
* Improve performance of list requests on S3. Any beginning literal portion of a filter expression is used to generate a search prefix which often helps keep the request small enough to avoid rate limiting. (Suggested by Mihail Shvein.)  
  

Allow functions with sensitive options to be logged at debug level with redactions.

  
commit   : 8674a4f7aea3bea2db7e92be599c034170b81706    
  
author   : David Steele <david@pgmasters.net>    
date     : Tue, 24 Oct 2017 12:35:36 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Tue, 24 Oct 2017 12:35:36 -0400    

Click here for diff

  
Previously, functions with sensitive options had to be logged at trace level to avoid exposing them. Trace level logging may still expose secrets so use with caution.  
  

Improve performance of test code.

  
commit   : b2cc65d886a5c1fe4845f655c53b0c809beefb72    
  
author   : David Steele <david@pgmasters.net>    
date     : Tue, 24 Oct 2017 10:35:42 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Tue, 24 Oct 2017 10:35:42 -0400    

Click here for diff

  
Wait when all tests have been assigned to reduce CPU load.  
  

Replace dynamically built class hierarchies in I/O layer with fixed parent() calls.

  
commit   : d989cf8ac21e0978174cc94747965743f252a45d    
  
author   : David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 19:07:17 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 19:07:17 -0400    

Click here for diff

  
  

Fix custom settings for compress-level option being ignored.

  
commit   : d82fe88031a3c9ca88bd70652bc4f9fc0e12d4bf    
  
author   : David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 18:05:46 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 18:05:46 -0400    

Click here for diff

  
Reported by Jens Wilke.  
  

Add I/O performance tests.

  
commit   : 3553ccae449b7b9ad71290234e55c57d9c9455a5    
  
author   : David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 13:27:47 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 13:27:47 -0400    

Click here for diff

  
  

Run all tests on tempfs rather than local disk.

  
commit   : 9b98c2e7d6492b626267ffa0c50c67922dd43bda    
  
author   : David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 13:11:03 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sun, 22 Oct 2017 13:11:03 -0400    

Click here for diff

  
  

Improve labeling for errors in helper processes.

  
commit   : e1cb9ae86a596d0c1e833ba60730e65805c4ef4f    
  
author   : David Steele <david@pgmasters.net>    
date     : Sat, 21 Oct 2017 14:40:14 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sat, 21 Oct 2017 14:40:14 -0400    

Click here for diff

  
  

Improve protocol error handling.

  
commit   : 44c7c0475ad30873075751ea23083861fe53278a    
  
author   : David Steele <david@pgmasters.net>    
date     : Sat, 21 Oct 2017 14:11:33 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sat, 21 Oct 2017 14:11:33 -0400    

Click here for diff

  
In particular, "stop" errors are no longer reported as "unexpected".  
  

Improve performance of list requests on S3.

  
commit   : 1f120f3fce1f8f30739a0cc178e8eea2053fd2f2    
  
author   : David Steele <david@pgmasters.net>    
date     : Fri, 20 Oct 2017 14:10:16 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Fri, 20 Oct 2017 14:10:16 -0400    

Click here for diff

  
Any beginning literal portion of a filter expression is used to generate a search prefix which often helps keep the request small enough to avoid rate limiting.  
  
Suggested by Mihail Shvein.  
  

Add base64 encode/decode.

  
commit   : f4524aeaa92baf2cdae2125c87661036e2bdc0a0    
  
author   : David Steele <david@crunchydata.com>    
date     : Wed, 18 Oct 2017 11:14:26 -0400    
  
committer: David Steele <david@crunchydata.com>    
date     : Wed, 18 Oct 2017 11:14:26 -0400    

Click here for diff

  
  

Fix instances where database-id was not rendered as an integer in JSON info output.

  
commit   : 2d56de00fcb04f2f949c1855f68cbeee25cdee6f    
  
author   : Cynthia Shang <cynthia.shang@crunchydata.com>    
date     : Wed, 18 Oct 2017 08:42:32 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Wed, 18 Oct 2017 08:42:32 -0400    

Click here for diff

  
Fixed by Cynthia Shang.  
Reported by Jason O'Donnell.  
  

Add PostgreSQL versions to Debian VMs for testing.

  
commit   : b1efd598cfe82c02db1a5943cd900dfc4be28e05    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 18:21:47 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 18:21:47 -0400    

Click here for diff

  
  

Remove error when overlapping timelines are detected.

  
commit   : c94e52f697cdae67c35fe8cb0f95088029231b95    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 14:34:44 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 14:34:44 -0400    

Click here for diff

  
Overlapping timelines are valid in many Point-in-Time-Recovery (PITR) scenarios.  
  
Reported by blogh.  
  

Add C memory contexts.

  
commit   : 583a76f605cd49d03fe2fe4a756e7de08966a62d    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 11:25:49 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 11:25:49 -0400    

Click here for diff

  
  

Convert config tests into C unit tests.

  
commit   : 6f5186f9e620693815133dc1444c0b627a3ab6a1    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 11:13:51 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 11:13:51 -0400    

Click here for diff

  
  

Improvements to page checksum module and tests:

  
commit   : 9d78948a14b20813201b5bf7f21e3525577aa7dc    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 11:03:06 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 11:03:06 -0400    

Click here for diff

  
* Page checksum module uses new C error handler.  
* Convert page checksum tests into C unit tests.  
  

Add test macros for C results and errors.

  
commit   : 80758f002311dd58497f95a5fd9a8f9de92920e8    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 10:54:35 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 10:54:35 -0400    

Click here for diff

  
  

Perl error handler recognizes errors thrown from the C library.

  
commit   : 904b83747cd8140aa64a0eb2ac598cc8c1cf310b    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 10:47:31 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 10:47:31 -0400    

Click here for diff

  
  

Add C error handler.

  
commit   : f1e739b4aa85f4b57613b8191e29c2abd303ed8e    
  
author   : David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 10:09:56 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Mon, 16 Oct 2017 10:09:56 -0400    

Click here for diff

  
Basic try ... catch ... finally pattern to simplify error handling in C.  
  

Add C unit test infrastructure.

  
commit   : 10dfbd90b5c3af6ebb6c651760d2d62ced738b84    
  
author   : David Steele <david@pgmasters.net>    
date     : Thu, 12 Oct 2017 12:55:48 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Thu, 12 Oct 2017 12:55:48 -0400    

Click here for diff

  
  

Add LibC.template.pm to simplify LibC module generation.

  
commit   : 08d6f14603e7248dd7cc865129527963d9e3df49    
  
author   : David Steele <david@pgmasters.net>    
date     : Tue, 10 Oct 2017 18:21:44 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Tue, 10 Oct 2017 18:21:44 -0400    

Click here for diff

  
  

Remove Debian test repo after PostgreSQL 10 release.

  
commit   : abea4d1fd5f8cd2a8e0c8625dbb3d700b5317cc7    
  
author   : David Steele <david@crunchydata.com>    
date     : Thu, 5 Oct 2017 12:33:13 -0400    
  
committer: David Steele <david@crunchydata.com>    
date     : Thu, 5 Oct 2017 12:33:13 -0400    

Click here for diff

  
  

Warnings in C builds treated as errors.

  
commit   : d89b7d5862201051732274f622742888dbf09315    
  
author   : David Steele <david@pgmasters.net>    
date     : Sat, 30 Sep 2017 10:48:25 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sat, 30 Sep 2017 10:48:25 -0400    

Click here for diff

  
  

Improvements in C codebase:

  
commit   : 8efcc38304dae4e224ae1ac0211ed03691ae5c8a    
  
author   : David Steele <david@pgmasters.net>    
date     : Sat, 30 Sep 2017 10:44:03 -0400    
  
committer: David Steele <david@pgmasters.net>    
date     : Sat, 30 Sep 2017 10:44:03 -0400    

Click here for diff

  
* Update C naming conventions.  
* Use int datatype wherever possible.  
* Better separation of C source from Perl interface.