mongosync enters different states depending on the requests it
mongosync can only be in a single state at a given time.
mongosync states determines which API operations you can
This page describes
The following table describes each state and lists the permitted operations in that state.
Possible API Operations
mongosync is initialized and ready for a sync job to
The sync process is currently running. In this state, data is initially synced to the destination cluster. Subsequent writes to the source cluster are applied to the destination cluster.
The sync process is paused. To resume the sync process, send a request to the /resume endpoint.
The cutover for the sync process has started. The time it takes to transition to the
COMMITTED phase depends on
lagTimeSeconds. To monitor
lagTimeSeconds or to see if
mongosync has finished committing, use the /progress endpoint.
The cutover for the sync process is complete.