Skip to content

Dynamodb kv batch on slices #5136

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

Merged
merged 3 commits into from
Feb 10, 2023
Merged

Conversation

danielblando
Copy link
Contributor

Signed-off-by: Daniel Deluiggi [email protected]

What this PR does:
Dynamodb has limitations on size of batch request. The current limit is at 25 actions per request.
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html
Adding slices on batch for ddb kv store.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
@danielblando danielblando marked this pull request as ready for review February 9, 2023 23:28
Signed-off-by: Daniel Deluiggi <[email protected]>
@yeya24 yeya24 merged commit b596df8 into cortexproject:master Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants