1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +02:00

Automatic retry for backup, restore, archive-get, and archive-push.

If a local command, e.g. backupFile(), fails it will stop the entire process. Instead, retry local commands to deal with transient errors.

Remove special logic in the S3 storage driver to retry RequestTimeTooSkewed errors since this is now handled by the general retry mechanism in the places where it is most likely to happen, i.e. file read/write. Also, this error should have been entirely eliminated by the asynchronous TLS implementation.
This commit is contained in:
David Steele
2020-07-14 15:05:31 -04:00
committed by GitHub
parent 91c7adc834
commit 620a8d17cf
15 changed files with 154 additions and 134 deletions

View File

@ -228,7 +228,7 @@ testRun(void)
ProtocolServer *server = protocolServerNew(strNew("storage test server"), strNew("test"), read, write);
protocolServerHandlerAdd(server, storageRemoteProtocol);
protocolServerProcess(server);
protocolServerProcess(server, NULL);
}
HARNESS_FORK_CHILD_END();