CLDSRV-796: Handle redis unavailability for rate limit#6031
Conversation
Hello tmacro,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
1add55a to
f0def5e
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files
@@ Coverage Diff @@
## development/9.2 #6031 +/- ##
===================================================
- Coverage 84.36% 84.34% -0.02%
===================================================
Files 204 204
Lines 12922 12926 +4
===================================================
+ Hits 10902 10903 +1
- Misses 2020 2023 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
0c393df to
d8a632d
Compare
| // Connection to redis has failed in some way. | ||
| // Client will be reconnecting in the background. | ||
| // We grant the requested amount of tokens anyway to avoid degrading service availability. | ||
| this.log.warn( |
There was a problem hiding this comment.
we should also log the bucket name here
There was a problem hiding this comment.
should we also add to default fields, rateLimited: false or something, like we do when we rate limit
like this: https://github.com/scality/cloudserver/blob/development/9.2/lib/api/api.js#L386
There was a problem hiding this comment.
I added the bucket name. I don't think the rateLimited field makes sense here as we're not making accept/deny decisions.
…tmp/octopus/w/9.1/improvement/CLDSRV-814-prevent-premature-codecov
… into tmp/octopus/w/9.2/improvement/CLDSRV-814-prevent-premature-codecov
d8a632d to
4e3edda
Compare
4e3edda to
c8fe018
Compare
|
/approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-796. Goodbye tmacro. The following options are set: approve |
No description provided.