microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
371 stars 85 forks source link

Succeed to create snapshots for one archived emulator blob #5029

Open v-xianya opened 2 years ago

v-xianya commented 2 years ago

Storage Explorer Version: 1.22.0-dev Build Number: 20211008.1 Branch: main Platform/OS: Windows 10 Architecture: ia32 Emulator Version: Azurite 3.14.0 How Found: From running test case Regression From: Not a regression

Steps to Reproduce

  1. Install and run Azurite 3.14.0 -> Launch Storage Explorer.
  2. Expand 'Local & Attached -> Storage Accounts -> (Emulator - Default Ports)(Key)' -> Blob Containers.
  3. Create a blob container -> Upload one blob -> Update the access tier to 'Archive'.
  4. Create snapshot for the archive blob.
  5. Check there is an error indicating 'This operation is not permitted on an archived blob'.

Expected Experience

There is an error indicating 'This operation is not permitted on an archived blob'.

Actual Experience

Succeed to create snapshot for the archived blob with no error. image

MRayermannMSFT commented 2 years ago

I will open a bug against Azurite for this.

MRayermannMSFT commented 2 years ago

https://github.com/Azure/Azurite/issues/1106

MRayermannMSFT commented 2 years ago

@v-xianya I had to run Azurite in --loose mode to repro this. Was that the case for you as well? If not, can you tell me exactly how you started Azurite?

v-xianya commented 2 years ago

@MRayermannMSFT

Yes, I started Azurite by running Azurite --loose. (This issue doesn't reproduce when starting Azurite by running Azurite)