Need ability to clear all storage
See original GitHub issueWhich service(blob, file, queue, table) does this issue concern?
All
Which version of the Azurite was used?
3.8.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What’s the Node.js version?
12.18.4
What problem was encountered?
I need to be able to clear storage like I could with Azure Storage Emulator using clear all
, clear blob
, etc.
Steps to reproduce the issue?
I’m working off the output from -h
- it says nothing about the ability to do this.
Have you found a mitigation/solution?
No, I am new to Azurite so I’m unsure if there’s some “hack” you can do to effectively do this.
Use case: When developing with a technology like Durable Functions, which heavily utilizes queues, tables, and blob to maintain state of orchestrations it’s incredibly useful to be able to clear backend storage contents as a way to “restart” an orchestration debugging session.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:31 (22 by maintainers)
Top Results From Across the Web
How to Free Up Storage on Your Phone | iPhone, Android
For example, under “Audio,” long-press on one or more files and tap Delete. Or under “Apps,” tap the app's name and then Uninstall...
Read more >How to free up space on your iPhone & Android phone - Asurion
The first thing you'll want to do is check to see which apps on your smartphone are the biggest users of space and...
Read more >8 quick ways to free up drive space in Windows 10 - CNET
You can delete temporary files without running Disk Cleanup, along with files you downloaded that you may no longer need. Go to Settings...
Read more >How To Clear System Storage On Android Phone - YouTube
How to free up storage space on All Samsung Galaxy phones · How to clear cache in samsung| atomically clear cache | Samsung...
Read more >Free up drive space in Windows - Microsoft Support
Select Start > Settings > System > Storage > Cleanup recommendations. Review each of the categories, including Temporary files, Large or unused files,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m fine if you want to propose that as a temporary workaround but not the permanent solution.
So what I’m saying is thanks, and I’ll use that if/when I get back to having Azurite as part of my daily dev workflow (I’ve moved on from Functions/DF work) but would much rather see something I can discover & interpret from
azurite -h
than a separate script I pulled from the bowels of the internet 😉It is correct that the ability to clear or clean the storage while developing durable functions is really necessary. It is laborious to rely on deleting files - I must quit from Visual Studio before I can delete them, restart VS and run my durable functions and then repeat for every debug session. It’s a poor workflow.
I have also tried using the VSCode durable function plugin to delete the hub (nothing else seemed to work) but it is somewhat slow compared to previous CLI command for the old storage emulator.
I appreciate this is an open source project and if I find time I will do something about it. For now I just want to draw attention to this area, that for developers working a lot on durable functions Azurite breaks our development workflow in comparison with the old storage emulator.