Skip to content

Commit 4e73a8f

Browse files
mayaraman19cbush
andauthored
DOCSP-50260: 1.14 Release notes (#12237)
* DOCSP-50260: 1.14 Release notes initial commit empty commit toc versionadded feedback link link * Copy old current to v1.13 * backport * banner * stdin * Revert "stdin" This reverts commit 1269226f688fce14554c1de9a2ab45c353085941. --------- Co-authored-by: Chris Bush <[email protected]>
1 parent f3dfef9 commit 4e73a8f

File tree

223 files changed

+11907
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+11907
-4
lines changed

content/cluster-to-cluster-sync/.backportrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"sourceBranch": "main",
55
"sourceDirectoryChoices": [
66
"content/cluster-to-cluster-sync/current",
7+
"content/cluster-to-cluster-sync/v1.13",
78
"content/cluster-to-cluster-sync/v1.12",
89
"content/cluster-to-cluster-sync/v1.11",
910
"content/cluster-to-cluster-sync/v1.10"
@@ -19,6 +20,7 @@
1920
"content/cluster-to-cluster-sync/v1.10",
2021
"content/cluster-to-cluster-sync/v1.11",
2122
"content/cluster-to-cluster-sync/v1.12",
23+
"content/cluster-to-cluster-sync/v1.13",
2224
"content/cluster-to-cluster-sync/current"
2325
],
2426
"backportTargetMode": "directory",

content/cluster-to-cluster-sync/current/source/includes/api/tables/progress-response.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,19 @@
127127
- Destination cluster. Returned in the form
128128
``<cluster name>: <host>:<port>``.
129129

130+
* - ``estimatedSecondsToCEACatchup``
131+
- integer
132+
- Estimated time in seconds remaining in the :ref:`Change Event Application
133+
<c2c-cea>` (CEA) phase, based on how much ``lagTimeSeconds`` has
134+
decreased over a recent interval.
135+
136+
``/progress`` does not report ``estimatedSecondsToCEACatchup``
137+
if ``mongosync`` is not in CEA, or if ``lagTimeSeconds`` has increased
138+
or stayed the same over the most recent interval. In this case,
139+
wait 30 minutes and then try again.
140+
141+
.. versionadded:: 1.14
142+
130143
* - ``mongosyncID``
131144
- string
132145
- Identifier string for the ``mongosync`` instance.

content/cluster-to-cluster-sync/current/source/reference/api/start.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,12 @@ Request Body Parameters
9090
Supported Options:
9191

9292
- ``beforeDataCopy`` (the default) causes ``mongosync`` to build indexes
93-
on the destination cluster. These include both existing indexes and
94-
any indexes created during migration on the source cluster.
93+
on the destination cluster. These include existing indexes, hashed
94+
indexes, and any indexes created during migration on the source cluster.
95+
96+
- ``excludeHashed`` causes ``mongosync`` to skip building hashed indexes
97+
during sync. This can `improve performance <https://www.mongodb.com/docs/manual/tutorial/drop-a-hashed-shard-key-index/>`__
98+
for large collections.
9599

96100
- ``never`` causes ``mongosync`` to skip building unnecessary indexes
97101
during sync. This can improve migration performance, especially with
@@ -263,6 +267,12 @@ The ``sharding`` option has the following parameters:
263267
- Optional. Sets whether sync creates a supporting index
264268
for the shard key, if none exists. The default is ``false``.
265269

270+
If you set this parameter to ``true`` and set ``buildIndexes``
271+
to ``"excludeHashed"``, then ``mongosync`` does not create
272+
supporting hashed indexes for hashed shard keys on the destination
273+
cluster. ``mongosync`` still builds non-hashed supporting
274+
indexes for non-hashed shard keys.
275+
266276
For more information and limitations, see
267277
:ref:`c2c-supporting-index-behavior`.
268278

content/cluster-to-cluster-sync/current/source/reference/limitations.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ Sharded Clusters
164164
<limit-number-of-indexes-per-collection>` of 64.
165165
- ``mongosync`` only supports syncing sharded collections that have
166166
default :ref:`collation <collation>` settings.
167+
- ``mongosync`` errors on indexes that are
168+
inconsistent or missing on some data-bearing shards.
169+
170+
.. versionadded: 1.14.0
167171

168172
Reversing
169173
---------

content/cluster-to-cluster-sync/current/source/reference/live-upgrade.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Live Upgrades
1717
:depth: 2
1818
:class: singlecol
1919

20+
.. important::
21+
22+
``mongosync`` does not support live upgrades to version 1.14.
23+
2024
Starting in ``mongosync`` 1.7.0, you can live upgrade ``mongosync`` without
2125
restarting data synchronization operations from the beginning.
2226

content/cluster-to-cluster-sync/current/source/reference/supported-server-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ clusters:
5555
- 6.0
5656

5757
* - 7.0
58-
- 7.0.14
58+
- 7.0.13
5959
- 6.0
6060

6161
* - 8.0

content/cluster-to-cluster-sync/current/source/release-notes.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Release Notes
33
=============
44

5+
.. meta::
6+
:description: Explore the release notes for Cluster-to-Cluster Sync, including the latest stable version and previous releases.
7+
58
Always install the latest, stable version of {+c2c-product-name+}. For
69
more information on types of MongoDB releases, see
710
:ref:`c2c-release-version-numbers`.
@@ -12,11 +15,12 @@ release notes.
1215
Current Stable Release
1316
~~~~~~~~~~~~~~~~~~~~~~
1417

15-
- :ref:`c2c-release-notes-1.13`
18+
- :ref:`c2c-release-notes-1.14`
1619

1720
Previous Releases
1821
~~~~~~~~~~~~~~~~~
1922

23+
- :ref:`c2c-release-notes-1.13`
2024
- :ref:`c2c-release-notes-1.12`
2125
- :ref:`c2c-release-notes-1.11`
2226
- :ref:`c2c-release-notes-1.10`
@@ -37,6 +41,7 @@ Previous Releases
3741
.. toctree::
3842
:titlesonly:
3943

44+
1.14 </release-notes/1.14>
4045
1.13 </release-notes/1.13>
4146
1.12 </release-notes/1.12>
4247
1.11 </release-notes/1.11>
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.. _c2c-release-notes-1.14:
2+
3+
================================
4+
Release Notes for mongosync 1.14
5+
================================
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 2
11+
:class: singlecol
12+
13+
This page describes changes and new features introduced in
14+
{+c2c-full-product-name+} 1.14.
15+
16+
17+
.. _1.14.0-c2c-release-notes:
18+
19+
1.14.0 Release
20+
--------------
21+
22+
**June 5, 2025**
23+
24+
API Changes
25+
~~~~~~~~~~~
26+
27+
- Adds the ``estimatedSecondsToCEACatchup`` field to the :ref:`c2c-api-progress`
28+
endpoint response.
29+
30+
- ``mongosync`` errors on indexes that are inconsistent or missing on
31+
some data-bearing shards, instead of ignoring them.
32+
33+
- Adds the ``"excludeHashed"`` option to the ``buildIndexes`` parameter in
34+
the :ref:`c2c-api-start` endpoint.
35+
36+
Live Upgrades
37+
~~~~~~~~~~~~~
38+
39+
:ref:`Live upgrades <c2c-live-upgrade>` to 1.14 are not
40+
supported.
41+
42+
Fixed Issues
43+
~~~~~~~~~~~~
44+
45+
- Fixes a bug where ``mongosync`` exited during :ref:`collection copy
46+
<c2c-collection-copy>` upon seeing a transient error. Now, ``mongosync``
47+
will retry on retryable errors.
48+
49+
- Fixes a bug where the embedded verifier could have caused
50+
long downtime during :ref:`c2c-api-commit` if the source
51+
cluster has a lot of unique or hidden indexes.
52+
53+
Other Notes
54+
~~~~~~~~~~~
55+
56+
- Fixes a case where ``mongosync`` exited unexpectedly without printing
57+
a fatal log error. Now, if ``mongosync`` exits unexpectedly, it prints
58+
a log error.
59+
60+
- Fixes a bug introduced in ``mongosync`` version 1.10 where the
61+
:ref:`c2c-api-progress` endpoint overcounted the verifier's
62+
``estimatedDocumentCount``.
63+
64+
- If the verifier finds checksum mismatches, it might re-fetch some
65+
documents from the source or destination cluster to check if the mismatch
66+
is due to differences in `field order <https://www.mongodb.com/docs/manual/core/document/#document-field-order>`__.
67+
This might lead to cutover taking slightly longer.
68+
69+
Minimum Supported Version
70+
-------------------------
71+
72+
.. include:: /includes/fact-version-compatibility.rst
73+
74+
.. include:: /includes/migration-upgrade-recommendation.rst
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"repoOwner": "mongodb",
3+
"repoName": "docs-cluster-to-cluster-sync",
4+
5+
"targetBranchChoices": ["master", "v1.11", "v1.10", "v1.9", "v1.8"],
6+
7+
"editor": "code",
8+
9+
"maxNumber": 15,
10+
11+
"backportBranchName": "{{sourcePullRequest.title}}-{{targetBranch}}-backport",
12+
13+
"prTitle": "{{sourcePullRequest.title}}-{{targetBranch}}-backport ({{sourcePullRequest.number}})"
14+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Backport
2+
on:
3+
pull_request_target:
4+
types:
5+
- closed
6+
- labeled
7+
8+
jobs:
9+
backport:
10+
name: Backport
11+
runs-on: ubuntu-latest
12+
# Only react to merged PRs for security reasons.
13+
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
14+
if: >
15+
github.event.pull_request.merged
16+
&& (
17+
github.event.action == 'closed'
18+
|| (
19+
github.event.action == 'labeled'
20+
&& contains(github.event.label.name, 'backport')
21+
)
22+
)
23+
steps:
24+
- uses: tibdex/backport@v2
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
*.swp
2+
.#*
3+
\#*#
4+
*__pycache__*
5+
*.pyc
6+
*.pyo
7+
*.bak
8+
.DS_Store
9+
source/includes/hash.rst
10+
source/includes/install-*-release-*.rst
11+
12+
source/includes/toc-*.rst
13+
source/includes/dfn*.rst
14+
source/includes/manpage-options-auth-mongo.rst
15+
source/includes/manpage-options-ssl-settings.rst
16+
source/includes/manpage-options-audit-settings.rst
17+
TAGS
18+
mongodb-domain.yaml
19+
composite-pages.yaml
20+
!bin/*/mongodb-domain.yaml
21+
meta.yaml
22+
source/driver-examples/
23+
*~
24+
source/reference/*/*.rst
25+
source/reference/*/*/*.rst
26+
source/reference/*.rst
27+
source/compass/images/*
28+
source/images/compass/
29+
giza.log
30+
pdfs.yaml
31+
intersphinx.yaml
32+
!bin/*/pdfs.yaml
33+
source/includes/hash.rst
34+
docs_meta.yaml
35+
!bin/docs_meta.yaml
36+
fabfile
37+
source/includes/toc/
38+
source/includes/table/
39+
source/includes/steps/
40+
source/includes/generated/includes-overview.rst
41+
source/includes/option/
42+
source/includes/changelogs/*.rst
43+
!source/includes/changelogs/releases/*.rst
44+
primer/source/includes/toc/
45+
primer/source/includes/table/
46+
primer/source/includes/steps/
47+
primer/source/includes/generated/includes-overview.rst
48+
primer/source/includes/generated/
49+
primer/source/includes/option/
50+
primer/source/includes/hash.rst
51+
primer/source/.static
52+
primer/source/*.rst
53+
primer/source/core/*.rst
54+
primer/source/includes/example*.txt
55+
primer/source/includes/example-*.rst
56+
primer/source/includes/driver-table.rst
57+
primer/source/includes/fact-installation-bind-ip-default-in-config.rst
58+
primer/source/includes/fact-installation-directories.rst
59+
primer/source/includes/fact-selinux-redhat-options.rst
60+
primer/source/includes/list-mongodb-org-packages.rst
61+
primer/source/includes/note-package-change.rst
62+
primer/source/includes/note-suse-ulimit.rst
63+
primer/source/tutorial/*.rst
64+
primer/source/includes/toc-*yaml
65+
primer/source/includes/steps-*yaml
66+
!primer/source/includes/steps-client-*.yaml
67+
!primer/source/includes/steps-getting-started-prereq.yaml
68+
primer/source/includes/release-*yaml
69+
primer/source/tutorial/install-mongodb-on-*.txt
70+
!primer/config/intersphinx.yaml
71+
!primer/config/published_branches.yaml
72+
!primer/source/includes/toc-primer-*yaml
73+
!primer/source/includes/steps-primer*yaml
74+
!primer/source/includes/client-*rst
75+
!primer/source/includes/prereq-*.rst
76+
primer/source/images/*.png
77+
primer/source/images/*.rst
78+
primer/source/images/*.svg
79+
primer/source/includes/*.cpp
80+
primer/source/includes/*.java
81+
primer/source/includes/*.cs
82+
*.mo
83+
.stub
84+
primer/source/includes/table-linux-kernel-version-production.yaml
85+
venv
86+
.vscode
87+
changelogs/.mongodb-jira.yaml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# docs-cluster-to-cluster-sync
2+
3+
Documentation for the cluster to cluster synchronization tool,
4+
mongosync.
5+
6+
Report Issues
7+
-------------
8+
9+
To file issues or requests regarding the documentation, go to the
10+
[Documentation Jira Project](https://jira.mongodb.org/browse/DOCS).
11+
12+
License
13+
-------
14+
15+
All documentation is available under the terms of a [Creative Commons
16+
License](https://creativecommons.org/licenses/by-nc-sa/3.0/).
17+
18+
If you have any questions, please contact [[email protected]]
19+
20+
21+
-- The MongoDB Documentation Team
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ensures that we always use the latest version of the script
2+
if [ -f build-site.sh ]; then
3+
rm build-site.sh
4+
fi
5+
6+
7+
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
8+
sh build-site.sh

0 commit comments

Comments
 (0)