Skip to content
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

feat(azure-adapter): split transactions by chunks #30

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Jan 31, 2024

The Table storage in Azure has a known limitation:

The Table service supports a maximum of 100 operations in a change set.

https://learn.microsoft.com/en-us/rest/api/storageservices/performing-entity-group-transactions#table-service-support-for-odata-batch-requests

Submitting bigger transactions causes a problem:

image

This PR implements chunking support for transactions and adds new tests.

Fixes #28.

@layershifter layershifter marked this pull request as ready for review January 31, 2024 11:07
@layershifter layershifter merged commit 68a4482 into main Jan 31, 2024
3 checks passed
@layershifter layershifter deleted the feat/azure-chunks branch January 31, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

monosize-storage-azure: chunk data uploads in order to avoid failures
2 participants