Azure / Azure/Azurite

Azure StageBlock does not create the expected blocks

Open
#680 7 comments 0 reactions 1 assignee Claimed by @Poku8 View on GitHub
blob-storage NewArch question stale
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?
I pulled latest `mcr.microsoft.com/azure-storage/azurite` from Dockerhub. I assume it's 3.10.0.

### Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
Dockerhub

### What's the Node.js version?
I pulled `FROM node:14-alpine`, so I'll assume it's 14.14

### What problem was encountered?
First, I created a container. This succeeded as expected.
Then, I wrote a small block blob. This succeeded as expected with status code 201.
When I retrieve blobs, I see the blob is correctly written.
When I retrieve all blocks, I see that both committed and non-commited blocks are empty for this container and blob combo.
When this code runs on a live Azure environment, a non-committed block is expected.

### Steps to reproduce the issue?
I left a reproducible example here: https://github.com/wayne-li2/azurite-issue
The README should provide steps, but I will copy it here:

1. Prerequisites: Docker version 20.10.2, build 2291f61
2. Clone this repository and cd into it.
3. `npm install`
4. `docker build -t test .`
5. `docker-compose up`

### Have you found a mitigation/solution?
I have not, unfortunately I'm not that experienced at the Azure APIs, but if someone can diagnose I'd be happy to contribute a pull request.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.