You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running firebase firestore:delete -r "collectionId" on a very big collection (~100'000 documents) composed of very large documents (~1MB) the command fails.
The error reported is the following:
HTTP Error: 429, This database has exceeded their maximum bandwidth for writes, please retry with exponential backoff.
It becomes impossible to delete the collection.
[REQUIRED] Steps to reproduce
Create a collection composed of many documents (>100'000), where each document has a very large size (~1MB).
Run firebase firestore:delete --debug -r "collectionId"
[REQUIRED] Expected behavior
The expected behavior is that the collection "collectionId" is deleted successfully.
[REQUIRED] Actual behavior
The actual behavior is that the collection is not deleted. At the moment it's impossible to delete the collection.
The text was updated successfully, but these errors were encountered:
Hello, thanks for reporting this, it looks like the Firebase CLIs implementation of delete does not do rampup/retries with exponential backoff on this bandwidth error, which it looks like you would be hitting because the documents you're trying to delete are fairly large.
[REQUIRED] Environment info
firebase-tools: 13.22.0
Platform: macOS
[REQUIRED] Test case
When running
firebase firestore:delete -r "collectionId"
on a very big collection (~100'000 documents) composed of very large documents (~1MB) the command fails.The error reported is the following:
It becomes impossible to delete the collection.
[REQUIRED] Steps to reproduce
firebase firestore:delete --debug -r "collectionId"
[REQUIRED] Expected behavior
The expected behavior is that the collection "collectionId" is deleted successfully.
[REQUIRED] Actual behavior
The actual behavior is that the collection is not deleted. At the moment it's impossible to delete the collection.
The text was updated successfully, but these errors were encountered: