I am using batches to migrate csv data to the firestore. The problem is that there is alot of data and the batch exceeds 500 ops limit so I have to commit current batch and make