[#398] Support retryer #398

Merged
alexvanin merged 1 commit from dkirillov/frostfs-s3-gw:bugfix/retry_put_bucket_settings_on_creation into master 2024-06-06 13:02:23 +00:00

1 commit

Author SHA1 Message Date
cbf2bbae11 [#398] Support retryer
All checks were successful
/ DCO (pull_request) Successful in 1m39s
/ Vulncheck (pull_request) Successful in 1m45s
/ Builds (1.20) (pull_request) Successful in 2m53s
/ Builds (1.21) (pull_request) Successful in 1m50s
/ Lint (pull_request) Successful in 4m34s
/ Tests (1.20) (pull_request) Successful in 2m49s
/ Tests (1.21) (pull_request) Successful in 2m47s
Add two strategy for PutBucketSettings request retryer:
* exponential backoff (increasing up to `max_backoff` delays with jitter)
* constant backoff (always the same `max_backoff` delay between requests)

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-06-05 11:33:38 +03:00