1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test
David Steele 39bb8a0d3a
Support for dual stack connections.
The prior code would only connect to the first address provided by getaddrinfo().

Instead try each address in the list. If all connections fail then wait and try them all again until timeout.

Currently a round robin approach is used where each connection attempt must fail before the next connection is attempted. This works fine, for example, when an ipv6 address has no route to the host, but will work less well when a host answers but doesn't respond in a timely fashion.

We may consider a Happy Eyeballs approach in the future, but since pgBackRest is primarily a background process, it is not clear that slightly improved response time (in the case of failed connections) is worth the extra complexity.
2023-09-12 18:09:58 -04:00
..
certificate SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
code-count Multi-stanza check command. 2023-08-07 17:03:09 +01:00
data
lib/pgBackRestTest Retry reads of pg_control until checksum is valid. 2023-09-10 09:47:49 -04:00
src Support for dual stack connections. 2023-09-12 18:09:58 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
ci.pl Remove user-facing documentation references to --vm=none. 2023-05-23 10:58:51 +03:00
container.yaml New CI container build for PostgreSQL 16 rc1. 2023-08-31 20:22:01 -04:00
define.yaml Optimize WAL segment check after successful backup. 2023-09-10 12:45:58 -04:00
Dockerfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
test.pl Remove double spaces from comments and documentation. 2023-05-02 12:57:12 +03:00
uncrustify.cfg Check for stray execute permissions in test.pl --code-format. 2023-02-01 12:57:04 +07:00
Vagrantfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00