Open sergeyle opened 5 months ago
So Firestore therefore does not work in Firebase Cloud Functions (python). If you get more than one invocation of your function and work with documents the functions deadlock and timeout. This is pretty major issue with the Firebase platform. I was wondering why I was seeing intermittent timeouts.
edit: was unable to reproduce in Firebase Cloud Functions
Calling
get()
to retrieve a document snapshot concurrently from different threads reliably leads to a deadlock. This was attempted on an M1 Mac and a GCE Cloud Console Linux.This was tried on
google-cloud-firestore=(2.15.0|2.16.0)
Code to reproduce the bug: