Docs Menu
Docs Home
/
Cluster-to-Cluster Sync

Live Upgrades

On this page

  • Steps
  • (Optional) Pause the mongosync processes
  • Stop the mongosync processes
  • Download and install the new mongosync binaries
  • Initialize the mongosync processes
  • Resume the mongosync processes

Starting in mongosync 1.7.0, you can live upgrade mongosync without restarting data synchronization operations from the beginning.

After the live upgrade, mongosync continues operations that were in progress before the upgrade.

To live upgrade mongosync, perform these steps:

1

To pause mongosync, run pause on each running mongosync process.

You can resume the mongosync processes later from the paused state, as shown in the final step.

Tip

If you don't want to immediately resume data synchronization operations after live upgrade, consider pausing the mongosync processes. This is useful if you're coordinating operations from multiple mongosync processes.

2

Use your operating system to stop each running mongosync process. To stop a process, see your operating system documentation for the specific steps.

3

To download and install the new mongosync binaries, see download and install mongosync.

4

To initialize the mongosync processes, see Quickstart. During initialization after a live upgrade, mongosync updates the persistent metadata.

5

If you paused any mongosync processes earlier in the optional first step, run resume on all mongosync processes.

If a data synchronization operation was already in progress before the live upgrade, new features added in the latest mongosync version may not all be supported after the live upgrade. Performance improvements and bug fixes are always supported after the live upgrade. For more information on the new features that might be supported after a live upgrade, see the 1.7.0 Release.

Next

Cluster-to-Cluster Sync