[pbs-devel] [PATCH proxmox 0/3] fix #6858: implement retry logic for transient API errors
Christian Ebner
c.ebner at proxmox.com
Fri Jan 23 15:58:32 CET 2026
These patches implement the best practice [0] on handling S3 API
response status codes 500 and 503 by retrying the requests after an
exponential backoff time.
The first 2 patches contain a small fix to avoid additional response
latency in case of request timeout being reached and reorganize the
code for better logical flow. The final patch then adds the
additional response status code checks for retires.
Link to the issue in bugzilla:
https://bugzilla.proxmox.com/show_bug.cgi?id=6858
[0] https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorBestPractices.html
Christian Ebner (3):
s3-client: early return when request timeout deadline reached
s3-client: move exponential backoff to after the response state check
fix #6858: s3-client: retry request on 500 and 503 response status
proxmox-s3-client/src/client.rs | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
--
2.47.3
More information about the pbs-devel
mailing list