Reputation: 16845
Hi I am developing with FireBase firestore.
Every document I write I use the admin panel to delete all documents and subcollections as stated in the popup when you try to delete all.
However, I don't see ever the storage going down. It only goes up after deletes etc.
Moreover, although I do not have a staging environment only a normal one I can see that the consumption mainly comes from there as seen in the screenshot below...
So in short, even I delete all documents + subcollections the store bytes do not decrease.
PS. Same happens even if I use my own app to do a delete for all documents and subcollections
UPDATE:
Upvotes: 3
Views: 1488
Reputation: 42038
The confusion here (which I'll talk to the FirebaseUI team about) is the first graph is showing you the GCS bucket staging.quant.appspot.com has ~61MB of data stored in it. The last image in your question shows that the GCS bucket used for Firebase is empty. The key takeaway here is you have 2 GCS buckets, the Firebase used one is empty, the 'staging' one is not.
The staging bucket is generally used by App Engine as part of the upload process for apps, which is why it probably has data in it even though you aren't using Cloud Storage via Firebase.
I am the product manager on Cloud Firestore, so I can guarantee this is showing 'Cloud Storage' (GCS) not 'Storage used by Cloud Firestore'.
Upvotes: 3