Azurite icon indicating copy to clipboard operation
Azurite copied to clipboard

Can snapshot archived blobs

Open MRayermannMSFT opened this issue 2 years ago • 5 comments

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the Azurite was used?

3.14.0

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

npm

What's the Node.js version?

12

What problem was encountered?

I was able to snapshot an archived blob

Steps to reproduce the issue?

  1. Set a blobs access tier to archive
  2. Create a snapshot of the blob

Have you found a mitigation/solution?

No

Additional info

This is a pretty minor issue. Not blocked by it. Just pointing out a behavior discrepancy between Azurite and actual storage service.

MRayermannMSFT avatar Oct 14 '21 18:10 MRayermannMSFT

@MRayermannMSFT

I can't repro the issue with the repro steps from you. Would you please attached the debug log? So we can continue the investigation.

blueww avatar Oct 15 '21 03:10 blueww

Here is a debug log: azurite.log

Note I had to start in loose mode.

MRayermannMSFT avatar Oct 15 '21 18:10 MRayermannMSFT

@MRayermannMSFT Thanks for raising this issue!

I get we should make create snapshot fail for an archive blob. Per rest API , " Taking a snapshot on an archived blob will fail. "

We will track this issue in Azurite schedule.

BTW, Azurite welcome contribution. It would be great if you could raise a PR to fix this issue!

blueww avatar Oct 18 '21 03:10 blueww

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 10:04 stale[bot]

Would still like this fixed. :)

MRayermannMSFT avatar Apr 18 '22 16:04 MRayermannMSFT