@@ -58,74 +58,10 @@ released, version 2.0 would no longer receive patch releases. At the
58
58
same time, version 1.3 would continue to receive patches until version
59
59
1.4 was released.
60
60
61
- .. _c2c-versioning-live-upgrade:
61
+ Upgrade or Downgrade
62
+ ~~~~~~~~~~~~~~~~~~~~
62
63
63
- Live Upgrade
64
- ~~~~~~~~~~~~
65
-
66
- .. versionadded:: 1.7.0
67
-
68
- .. include:: /includes/live-upgrade.rst
69
-
70
- After the live upgrade, ``mongosync`` continues operations that were in
71
- progress before the upgrade.
72
-
73
- To live upgrade ``mongosync``, perform these steps:
74
-
75
- .. procedure::
76
- :style: normal
77
-
78
- .. step:: (Optional) Pause the ``mongosync`` processes
79
-
80
- To pause ``mongosync``, run :ref:`c2c-api-pause` on each running
81
- ``mongosync`` process.
82
-
83
- You can resume the ``mongosync`` processes later from the paused
84
- state, as shown in the final step.
85
-
86
- .. tip::
87
-
88
- If you don't want to immediately resume data synchronization
89
- operations after live upgrade, consider pausing the
90
- ``mongosync`` processes. This is useful if you're coordinating
91
- operations from multiple ``mongosync`` processes.
92
-
93
- .. step:: Stop the ``mongosync`` processes
94
-
95
- Use your operating system to stop each running ``mongosync``
96
- process. To stop a process, see your operating system
97
- documentation for the specific steps.
98
-
99
- .. step:: Download and install the new ``mongosync`` binaries
100
-
101
- To download and install the new ``mongosync`` binaries, see
102
- :ref:`download and install mongosync <c2c-install>`.
103
-
104
- .. step:: Initialize the ``mongosync`` processes
105
-
106
- To initialize the ``mongosync`` processes, see
107
- :ref:`Quickstart <c2c-quickstart>`. During initialization after a
108
- live upgrade, ``mongosync`` updates the persistent metadata.
109
-
110
- .. step:: Resume the ``mongosync`` processes
111
-
112
- If you paused any ``mongosync`` processes earlier in the optional
113
- first step, run :ref:`c2c-api-resume` on all ``mongosync``
114
- processes.
115
-
116
- If a data synchronization operation was already in progress before the
117
- live upgrade, new features added in the latest ``mongosync`` version may
118
- not all be supported after the live upgrade. Performance improvements
119
- and bug fixes are always supported after the live upgrade. For more
120
- information on the new features that might be supported after a live
121
- upgrade, see the :ref:`1.7.0-c2c-release-notes`.
122
-
123
- Non-Live Upgrade or Downgrade
124
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125
-
126
- If you're using an earlier ``mongosync`` version not supported by the
127
- live upgrade procedure, or you need to downgrade ``mongosync``, perform
128
- these steps:
64
+ Use the following steps to upgrade or downgrade ``mongosync``:
129
65
130
66
- Stop all currently running ``mongosync`` processes.
131
67
- Drop all non-system databases in the destination cluster.
0 commit comments