Skip to Main Content
Status Escalated
Created by Nicolas Beaupré
Created on Apr 2, 2024

Running the function EnvironmentSync to copy a subcollection from one staging to prod.

What I was trying to do:

Running the function EnvironmentSync to copy a subcollection from one staging to prod.


What I expected to happen:

copy about 270 records (or maybe 3000 fields) from staging to prod


What actually happened:

The function copied correctly (I think) the fields, but kept adding recordsCopied (up to 49732). After about 1000, I called Nir and with the help of Umang, the job was killed in prod. Probably a never ending loop. Need to validate what happened See details : https://console.firebase.google.com/u/0/project/resident-production/firestore/data/~2FSystem~2FenvironmentSync~2FEnvironmentSync~2F2024-04-02%20Transponder%20copy


  • Attach files