Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Documents appear after being deleted in Firestore

I am experiencing a strange behavior with my Firestore account, on the console I select a collection then I click Delete all documents an it indicates that all have been deleted successfully. When I refresh the data, the collection appear with all the deleted data. I have no service doing this anywhere and wondering what may cause this. Is there a solution?

Alongside this, any change I do to the document fields on the console are successful but are lost after refreshing.

like image 416
Geek Guy Avatar asked Feb 10 '18 22:02

Geek Guy


2 Answers

I experienced similar behaviour today that I haven't seen before. I deleted documents from the Firestore console but my app was still fetching them successfully. Now, about an hour after witnessing that behaviour everything is back to normal and my console deletes are immediately seen on the device.

I'm thinking it was a glitch in Firestore - after all it's still in Beta.

like image 79
mp501 Avatar answered Oct 02 '22 00:10

mp501


I tried all possible means, I had to back up the whole Firestore DB in Json files then deleted the project from console and created a new one. I think It's an issue with Firestore since I created the project before the launch of Firestore and may have required to create a new one.

like image 21
Geek Guy Avatar answered Oct 02 '22 00:10

Geek Guy