1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/lib/pgBackRestTest/Module
David Steele 286f7e5011 Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded.
This calculation was missed when the WAL segment size was made dynamic in preparation for PostgreSQL 11.

Fix the calculation by checking the actual WAL file sizes instead of using an estimate based on WAL segment size.  This is more accurate because it takes into account .history and .backup files, which are smaller.  Since the calculation is done in the async process the additional processing time should not adversely affect performance.

Remove the PG_WAL_SIZE constant and instead use local constants where the old value is still required.  This is only the case for some tests and PostgreSQL 8.3 which does not provide a way to get the WAL segment size from pg_control.
2018-10-27 20:00:00 +01:00
..
Archive Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded. 2018-10-27 20:00:00 +01:00
Backup Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
Common Improve the HTTP client to set content-length to 0 when not specified by the server. 2018-06-26 17:27:22 -04:00
Info Improve info command to display the stanza cipher type. 2018-09-10 13:09:45 -04:00
Manifest Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Mock Fix issue with archive-push-queue-max not being honored on connection error. 2018-10-27 16:57:57 +01:00
Performance Rename db-* options to pg-* and backup-* options to repo-* to improve consistency. 2018-02-03 18:27:38 -05:00
Protocol Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
Real Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Stanza Remove incompletely implemented online option from the check command. 2018-08-12 19:24:21 -04:00
Storage Allow hashSize() to run on remote storage. 2018-09-18 11:39:48 -04:00