-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KV] "failed to get rate limit token" when running under load #6645
Comments
We see limited throttling but before this message. I believe that a client-side rate limit is actively harmful here. But if we do keep it, we obviously need a much more generous back-off. |
@arielshaqed How is this different from #6621 (aws/aws-sdk-go-v2#1665)? |
This issue is now marked as stale after 90 days of inactivity, and will be closed soon. To keep it, mark it with the "no stale" label. |
SRSLY? |
That added some retries, which fixed a P0: it was happening all the time under load. The underlying issue remains: lakeFS should manage client-side rate limiting in a better way. It is incorrect to fail a user operation because of client-side rate limiting. |
Under load KV gets "DynamoDB: GetItem, failed to get rate limit token". But capacity appears to be available on this DynamoDB.
Message:
AFAIU this is an internal client-side error coming from the AWS SDK. I don't understand how this can work without knowing the desired rate, which of course depends on how many RCUs we've purchased or even how many RCUs DynamoDB autoscaling has given us.
The text was updated successfully, but these errors were encountered: