How Can I Avoid Downtime During a MongoDB Upgrade?
Question
How can I avoid downtime during a MongoDB upgrade?
Environment
Connector: MongoDB
Answer
To avoid downtime during a MongoDB upgrade, we recommend that you do the following:
Pause your connector when no syncs are running.
i. In Fivetran, go to your MongoDB connector page.
ii. In the top right, set the ENABLED toggle to OFF.
Upgrade your MongoDB database.
Test your connection.
i. In Fivetran, go to your MongoDB connector page.
ii. Select the Setup tab.
iii. Click Test connection.
iv. Wait for setup tests to complete.
Resume your connector by setting the ENABLED toggle to ON.
IMPORTANT: If your MongoDB oplogs aren't retained during the database upgrade, we may perform a re-sync to ensure the latest oplogs are captured for future incremental syncs.