-
Notifications
You must be signed in to change notification settings - Fork 326
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
Block blob StageBlockWithURL isn't implemented #2440
Comments
This is how I'd Implement it: main...radekg:Azurite:blockBlobClient-stageBlockFromURL. Some work would have to be done to extract those functions copied straight from BlobHandler.ts. But the supplied test passes. Would my branch be a good starting point, or am way off regarding how it should be implemented? |
The Docker image built from my branch does what it supposed to do. I can put more work in this to have it merged but I'd need guidance. Thank you. |
Thanks for the contribution! BTW, Azurite blob service support 2 kinds of data location (loki and SQL), not sure if you would like also support SQL? Besides that, you might can follow up rest API doc , and make sure the rest API doc mentioned error / details behavior is aligned with Azurite implementation, and add enough test cases if necessary. |
@blueww I have opened the PR. Regarding the guidance I need:
Shall we continue the discussion on the PR? |
Thanks for the contribution! It's not good to make have duplicated copy of almost same code. It will make the maintenance of the code be difficult. It's OK if SQL will not be supported at the first version of the API implementation. You just need update Readme.md to add the limitation like : https://github.com/Azure/Azurite#:~:text=Copy%20Blob%20From%20URL%20(Only%20supports%20copy%20within%20same%20Azurite%20instance%2C%20only%20on%20Loki) |
Hey @blueww, I have updated the PR. I moved those shared functions to |
Which service(blob, file, queue, table) does this issue concern?
This ticket is for the blob service.
Which version of the Azurite was used?
Version: 2024.04 Version 3.30.0.
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What's the Node.js version?
Running in Docker, irrelevant.
What problem was encountered?
Steps to reproduce the issue?
Issue a request to blockblob client StageBlockWithURL(...).
Azurite/src/blob/handlers/BlockBlobHandler.ts
Lines 266 to 274 in 2945f6b
Have you found a mitigation/solution?
There's no solution.
The text was updated successfully, but these errors were encountered: