1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest
David Steele 41b00dc204 Fix issue with archive-push-queue-max not being honored on connection error.
If an error occurred while acquiring a lock on a remote server the error would be reported correctly, but the queue max detection code was not reached.  The tests failed to detect this because they fixed the connection before queue max, allowing the ccde to be reached.

Move the queue max code before the lock so it will run even when remote connections are not working.  This means that no attempt will be made to transfer WAL once queue max has been exceeded, but it makes it much more likely that the code will be reach without error.

Update tests to continue errors up to the point where queue max is exceeded.

Reported by Lardière Sébastien.
2018-10-27 16:57:57 +01:00
..
Archive Fix issue with archive-push-queue-max not being honored on connection error. 2018-10-27 16:57:57 +01:00
Backup Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
Check Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Common Improve support for special characters in filenames. 2018-09-10 10:54:34 -04:00
Config Move async forking and more error handling to C. 2018-04-12 20:42:26 -04:00
Protocol Allow hashSize() to run on remote storage. 2018-09-18 11:39:48 -04:00
Storage Allow hashSize() to run on remote storage. 2018-09-18 11:39:48 -04:00
Db.pm Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
DbVersion.pm PostgreSQL 11 Beta 1 support. 2018-06-05 08:59:17 -04:00
Expire.pm Rename retention-* options to repo-retention-*. 2018-02-19 15:07:24 -05:00
Info.pm Improve info command to display the stanza cipher type. 2018-09-10 13:09:45 -04:00
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
LibC.pm Allow command/option constants to autonumber in both C and Perl to reduce churn when a new command/option is added. 2018-08-24 19:31:45 -04:00
LibCAuto.pm Allow arbitrary directories and/or files to be excluded from a backup. 2018-08-27 15:51:05 -04:00
Main.pm Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
Manifest.pm Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Restore.pm Improve support for special characters in filenames. 2018-09-10 10:54:34 -04:00
RestoreFile.pm Fix delta restore failing when a linked file was missing. 2018-05-02 12:06:12 -04:00
Stanza.pm Remove incompletely implemented online option from the check command. 2018-08-12 19:24:21 -04:00
Version.pm Begin v2.07 development. 2018-10-16 17:21:01 +01:00