Blob: Azurite does not replicate API size limit
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 393
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
### Which service(blob, file, queue, table) does this issue concern?
Blob
### Which version of the Azurite was used?
3.29.0
### Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
mcr.microsoft.com/azure-storage/azurite
### What's the Node.js version?
v14.21.3 (inside the container)
### What problem was encountered?
Uploading a 10GB file via the BlockBlobClient from the Java SDK is possible in Azurite but not against the real service. There the following error is returned.
```
Code: RequestBodyTooLarge
Message: The request body is too large and exceeds the maximum permissible limit.
RequestId:
MaxLimit: 5242880000
```
### Steps to reproduce the issue?
Example code using version 1.2.14 of the azure-sdk-bom
```java
final Path testFile = Paths.get("10GB.dat");
final BinaryData data = BinaryData.fromFile(testFile, (int) FileUtils.ONE_MB);
blobClient.upload(data, false);
```
Might be related to #1319 where it was only fixed for table
### Have you found a mitigation/solution?
Only testing against the real service.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.