22fe684b1f
Only check expect logs on CentOS 7.
...
Variations in distros cause false negatives in tests but don't add much value.
2017-11-14 17:16:39 -05:00
b8746f368d
Inflate performance improvement for gzip filter and full unit test coverage.
2017-11-14 15:12:31 -05:00
04e55fe71b
Fixed an issue that could cause copying large manifests to fail during restore.
...
Reported by Craig A. James.
2017-11-14 14:48:44 -05:00
cf7da546a3
Simplify try..catch..finally names.
2017-11-13 21:22:13 -05:00
bcdfc7d0b5
Enable additional warnings for C builds.
2017-11-06 22:55:34 -05:00
b03c26968a
Repository encryption support.
...
Contributed by Cynthia Shang.
2017-11-06 12:51:12 -05:00
8d6a08a32b
Library code for repository encryption support.
2017-11-03 13:57:58 -04:00
ac542788da
Convert configuration definitions from auto-generated functions to auto-generated data structures.
2017-11-02 08:14:13 -04:00
55f68ef013
Remove configurable option hints.
...
db-path was the only option with a hint so the feature seemed wasteful. All missing stanza options now output the same hint without needing configuration.
2017-10-30 10:58:04 -04:00
1ef27ec8c2
Add list type for options.
...
The hash type was being used for lists with an additional flag (`value-hash`) to indicate that it was not really a hash.
2017-10-30 10:50:35 -04:00
f57e376c44
Update Debian/Ubuntu containers to download lastest version of pip.
2017-10-30 09:29:46 -04:00
8674a4f7ae
Allow functions with sensitive options to be logged at debug level with redactions.
...
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.
2017-10-24 12:35:36 -04:00
b2cc65d886
Improve performance of test code.
...
Wait when all tests have been assigned to reduce CPU load.
2017-10-24 10:35:42 -04:00
d989cf8ac2
Replace dynamically built class hierarchies in I/O layer with fixed parent() calls.
2017-10-22 19:07:17 -04:00
d82fe88031
Fix custom settings for compress-level option being ignored.
...
Reported by Jens Wilke.
2017-10-22 18:05:46 -04:00
3553ccae44
Add I/O performance tests.
2017-10-22 13:27:47 -04:00
9b98c2e7d6
Run all tests on tempfs rather than local disk.
2017-10-22 13:11:03 -04:00
e1cb9ae86a
Improve labeling for errors in helper processes.
2017-10-21 14:40:14 -04:00
44c7c0475a
Improve protocol error handling.
...
In particular, "stop" errors are no longer reported as "unexpected".
2017-10-21 14:11:33 -04:00
f4524aeaa9
Add base64 encode/decode.
2017-10-18 11:14:26 -04:00
2d56de00fc
Fix instances where database-id was not rendered as an integer in JSON info output.
...
Fixed by Cynthia Shang.
Reported by Jason O'Donnell.
2017-10-18 08:42:32 -04:00
b1efd598cf
Add PostgreSQL versions to Debian VMs for testing.
2017-10-16 18:21:47 -04:00
c94e52f697
Remove error when overlapping timelines are detected.
...
Overlapping timelines are valid in many Point-in-Time-Recovery (PITR) scenarios.
Reported by blogh.
2017-10-16 14:34:44 -04:00
583a76f605
Add C memory contexts.
2017-10-16 11:25:49 -04:00
6f5186f9e6
Convert config tests into C unit tests.
2017-10-16 11:13:51 -04:00
9d78948a14
Improvements to page checksum module and tests:
...
* Page checksum module uses new C error handler.
* Convert page checksum tests into C unit tests.
2017-10-16 11:03:06 -04:00
80758f0023
Add test macros for C results and errors.
2017-10-16 10:54:35 -04:00
904b83747c
Perl error handler recognizes errors thrown from the C library.
2017-10-16 10:47:31 -04:00
f1e739b4aa
Add C error handler.
...
Basic try ... catch ... finally pattern to simplify error handling in C.
2017-10-16 10:09:56 -04:00
10dfbd90b5
Add C unit test infrastructure.
2017-10-12 12:55:48 -04:00
abea4d1fd5
Remove Debian test repo after PostgreSQL 10 release.
2017-10-05 12:33:13 -04:00
d89b7d5862
Warnings in C builds treated as errors.
2017-09-30 10:48:25 -04:00
40a85e34f1
Improve C library smart build.
...
Ignore changes outside of /lib/pgBackRest/Config.
2017-09-20 19:57:05 -04:00
266c9ddcc1
Fixed an issue where some db-* options (e.g. db-port) were not being passed to remotes.
2017-09-19 10:14:18 -04:00
c857015a38
Fixed an issue where warnings were being emitted in place of lower priority log messages during backup from standby initialization.
2017-09-19 10:03:53 -04:00
7c95a2f4de
Updates to installation documentation.
...
* Add trusted SSH configuration.
* Add full installation where required and remove doc containers that included parts of the installation.
2017-09-08 21:50:00 -07:00
6343fdd584
Additional backup exclusions.
...
* Exclude contents of pg_snapshots, pg_serial, pg_notify, and pg_dynshmem from backup since they are rebuilt on startup.
* Exclude pg_internal.init files from backup since they are rebuilt on startup.
2017-09-04 08:26:57 -04:00
eea2ccc3ab
Add HTTP retries to harden against transient S3 network errors.
2017-09-03 16:48:41 -04:00
75511d2481
Allow content-length (in addition to chunked encoding) when reading XML data to improve compatibility with third-party S3 gateways.
...
Suggested by Victor Gdalevich.
2017-09-01 15:07:20 -04:00
fcb7c6fd1d
PostgreSQL 10 support.
2017-09-01 12:29:34 -04:00
36e576b483
Up to seven standbys can be configured for backup from standby.`
...
Contributed by Cynthia Shang.
2017-08-31 19:15:44 -04:00
206415d4c7
Fixed an issue that could cause compression to abort on growing files.
...
Reported by Jesper St John, Aleksandr Rogozin.
2017-08-30 16:34:05 -04:00
81ffd09445
Fixed an issue with keep-alives not being sent to the remote from the local process.
...
Reported by William Cox.
2017-08-30 08:41:46 -04:00
1e0ed07455
Configuration rules are now pulled from the C library when present.
2017-08-25 16:47:47 -04:00
8d3436bce7
Merge release 2 container build changes.
2017-08-19 09:02:24 -04:00
7dab459cac
Simplified smart logic for C Library and package builds.
2017-08-19 08:48:13 -04:00
4331e09376
Drain stderr during test process execution as well as termination to prevent lockups if there is a lot of output.
2017-08-11 18:31:25 -04:00
f8de73674c
Updated Docker build in Vagrantfile.
2017-08-10 20:52:29 -04:00
ac1574448e
Changed log test order to ignore unimportant log errors while shutting down PostgreSQL.
2017-08-10 18:11:29 -04:00
61c38f5808
Fixed authentication issue in S3 retry.
2017-08-09 11:27:09 -04:00