1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/lib/pgBackRest/Archive
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
..
Get Make archive-get info messages consistent between C and Perl implementations. 2018-09-11 12:30:48 -04:00
Push Fix issue with archive-push-queue-max not being honored on connection error. 2018-10-27 16:57:57 +01:00
Base.pm Refactor archive common functions in preparation for parallel async archive-get. 2018-04-29 10:16:59 -04:00
Common.pm Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
Info.pm Update Archive::Info->archiveIdList() to return a valid error code instead of unknown. 2018-08-24 12:13:10 -04:00