I make new documents multiple times without checking the success of the write:
for element in data {
val document = firestore.collection("test")
document.set(element)
}
Sometimes data
contains hundreds of elements and I have discovered that in some rare cases not every document is uploaded to the cloud (e.g. 5% are not successfully uploaded, but only the last elements).
Is there any limit for multiple writes? Should I wrap it into the batch?