commit f33c061ae92f33ea467c58749d3f15d2b1cc942c
Author: Tim Burke <email address hidden>
Date: Thu Dec 5 09:42:33 2019 -0800
s3api: Better handle 498/429 responses
Currently, they just 500 as an unexpected response status. Much better
would be S3's '503 Slow Down' response.
Of course, that's all dependent on where you place ratelimit in your
pipeline -- and we haven't really given clear guidance on that. I'm not
actually sure you *want* ratelimit to be after s3api and auth... but if
you *do*, let's at least handle it gracefully.
Reviewed: https:/ /review. opendev. org/697535 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=f33c061ae92 f33ea467c58749d 3f15d2b1cc942c
Committed: https:/
Submitter: Zuul
Branch: master
commit f33c061ae92f33e a467c58749d3f15 d2b1cc942c
Author: Tim Burke <email address hidden>
Date: Thu Dec 5 09:42:33 2019 -0800
s3api: Better handle 498/429 responses
Currently, they just 500 as an unexpected response status. Much better
would be S3's '503 Slow Down' response.
Of course, that's all dependent on where you place ratelimit in your
pipeline -- and we haven't really given clear guidance on that. I'm not
actually sure you *want* ratelimit to be after s3api and auth... but if
you *do*, let's at least handle it gracefully.
Change-Id: I36f0954fd9949d 7d1404a0c381b91 7d1cfb17ec5
Related-Bug: 1669888