Skip to content

Commit 9f18861

Browse files
authored
DOCSP-33175 Remove 1.6 prerelease content (#162)
* DOCSP-33175 Removes 1.6 content for prerelease * Removes exclude documentation * Removes start mention * Restores patch limitation * Removes 1.6 from release notes toc * Fixes per Ajay * Fixes per Ajay * Fixes per Ajay * Fixes per jtcovan
1 parent c7277e0 commit 9f18861

File tree

7 files changed

+19
-317
lines changed

7 files changed

+19
-317
lines changed

source/reference/api/start.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,6 @@ Request Body Parameters
143143

144144
.. versionadded:: 1.1
145145

146-
* - ``excludeNamespaces``
147-
- array
148-
- Optional
149-
- Filters the databases or collections to exclude from sync.
150-
151-
.. include:: /includes/api/facts/namespace-explanation.rst
152-
153-
.. versionadded:: 1.6
154-
155146
* - ``reversible``
156147
- boolean
157148
- Optional

source/reference/collection-level-filtering.txt

Lines changed: 14 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,20 @@ Filtered Sync
1818
.. include:: /includes/api/facts/filtering-intro.rst
1919

2020
Starting in 1.1, ``mongosync`` supports inclusion filters to specify which
21-
databases and collections to include in sync. Starting in 1.6, ``mongosync``
22-
also supports exclusion filters and regular expressions.
21+
databases and collections to include in sync.
2322

2423
- With inclusion filters, ``mongosync`` syncs matching
2524
databases and collections.
26-
- With exclusion filters, ``mongosync`` syncs all databases
27-
and collections, except for those that match the filters.
28-
- With both inclusion and exclusion filters, ``mongosync`` only syncs
29-
databases and collections that match the inclusion filters then excludes
30-
any that also match the exclusion filters.
3125
- With no filters, ``mongosync`` syncs all databases and collections.
3226

3327
.. _c2c-filter-syntax:
3428

3529
Filter Syntax
3630
-------------
3731

38-
The :ref:`c2c-api-start` API endpoint accepts two fields that configure
39-
filtered sync: ``includeNamespaces`` and ``excludeNamespaces``.
40-
Each field takes an array of filters that specify the databases and collections
41-
to include or exclude from sync.
42-
43-
.. note::
44-
45-
If the :ref:`c2c-api-start` call uses both ``includeNamespaces`` and
46-
``excludeNamespaces`` parameters, ``mongosync`` first matches databases
47-
and collections from the inclusion filters, then excludes those that
48-
also match an exclusion filter.
32+
The :ref:`c2c-api-start` API endpoint accepts one field to configure filtered
33+
sync: ``includeNamespaces``. This field takes an array of filters to specify
34+
the databases and collections to include in the sync.
4935

5036
Filters have the following syntax:
5137

@@ -58,38 +44,10 @@ Filters have the following syntax:
5844
"collections": [
5945
"<collection-name>"
6046
]
61-
"databaseRegex": {
62-
"pattern": "<regex-pattern>",
63-
"options": "<options>"
64-
},
65-
"collectionRegex": {
66-
"pattern": "<regex-pattern>",
67-
"options": "<options>"
68-
}
69-
}
70-
],
71-
"excludeNamespaces": [
72-
{
73-
"database": "<database-name>",
74-
"collections": [
75-
"<collection-name>"
76-
]
77-
"databaseRegex": {
78-
"pattern": "<regex-pattern>",
79-
"options": "<options>"
80-
},
81-
"collectionRegex": {
82-
"pattern": "<regex-pattern>",
83-
"options": "<options>"
84-
}
8547
}
8648
]
8749

88-
Filters must include either the ``database`` field or the ``databaseRegex`` field.
89-
90-
If you need the filter to match specific collections, you can use either
91-
the ``collections`` array to specify collections individually or define
92-
a regular expression using the ``collectionRegex`` field.
50+
Filters must include the ``database`` field.
9351

9452
.. _c2c-configure-filter:
9553

@@ -116,43 +74,33 @@ Configure a Filter
11674

11775
.. step:: Create a Filter.
11876

119-
The :ref:`c2c-api-start` API accepts two parameters that configure
77+
The :ref:`c2c-api-start` API accepts a parameter to configure a series of
12078
optional filters:
12179

12280
- The ``includeNamespaces`` parameter takes an array of filters, which
12381
are used to determines which databases and collections ``mongosync``
12482
should include in the sync.
125-
- The ``excludeNamespaces`` parameter takes an array of filters, which
126-
are used to determine which databases and collections ``mongosync``
127-
should exclude from the sync.
12883

12984
If you don't specify a filter, ``mongosync`` performs a full cluster
13085
sync.
13186

132-
Create inclusion and/or exclusion filters to identify the databases and
87+
Create inclusion filters to identify the databases and
13388
collections you want to sync.
13489

13590
For example, this inclusion filter would configure ``mongosync`` to only
136-
sync collections whose names begin with ``accounts_`` from the ``sales``
137-
database, except for the ``accounts_old`` collection:
91+
sync ``accounts_us`` and ``accounts_eu`` collections in the ``sales``
92+
database.
13893

13994
.. code-block:: json
14095

14196
"includeNamespaces": [
14297
{
14398
"database": "sales",
144-
"collectionRegex": {
145-
"pattern": "^accounts_.+$",
146-
"options": "ms"
147-
}
148-
],
149-
"excludeNamespaces": [
150-
{
151-
"database": "sales",
152-
"collections": [
153-
"accounts_old"
154-
]
155-
}
99+
"collections": [
100+
"accounts_us",
101+
"accounts_eu",
102+
]
103+
}
156104
]
157105

158106
For more information on filters, see :ref:`c2c-filter-syntax`.
@@ -350,8 +298,3 @@ Adding and Renaming Collections While Syncing
350298

351299
.. include:: /includes/example-filter-collection-with-renaming.rst
352300

353-
.. toctree::
354-
:hidden:
355-
356-
/reference/collection-level-filtering/filter-regex
357-

source/reference/collection-level-filtering/filter-regex.txt

Lines changed: 0 additions & 116 deletions
This file was deleted.

source/reference/limitations.txt

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,10 @@ General Limitations
2929
.. include:: /includes/fact-minimum-versions.rst
3030

3131
- ``mongosync`` does not support MongoDB rapid releases such as 6.1 or
32-
6.2. Only major MongoDB releases such as 6.0 or 7.0. are supported.
32+
6.2. The minimum supported server version is MongoDB 6.0.5.
3333
For more information on MongoDB versioning, see
3434
:ref:`release-version-numbers`.
35-
- The source and destination clusters must have the same major and minor
36-
release version, but can have different patch releases.
37-
38-
For example,
39-
- ``mongosync`` supports sync from a MongoDB 6.0.8 source cluster to a
40-
destination cluster using MongoDB 6.0.9, since these are patch releases
41-
of the same major release.
42-
- ``mongosync`` does not support sync from a MongoDB 6.0.9 source cluster to
43-
a destination cluster using MongoDB 7.0.0, since they have different major
44-
versions.
35+
- The source and destination clusters must have the same release version.
4536
- The minimum supported :dbcommand:`Feature Compatibility Version
4637
<setFeatureCompatibilityVersion>` is 6.0.
4738
- The source and destination clusters must have the same Feature

source/reference/versioning.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ Same Server Version
6060
~~~~~~~~~~~~~~~~~~~
6161

6262
{+c2c-product-name+} only supports syncing between the same version of
63-
MongoDB Server. The major and minor :ref:`server version numbers
64-
<release-version-numbers>` must be the same on both clusters.
65-
Starting in ``mongosync`` 1.6.0, the source and destination cluster
66-
can use different patch releases of the same major and minor version.
63+
MongoDB Server. All three :ref:`server version numbers
64+
<release-version-numbers>`, including the patch number, must be the
65+
same on both servers.
6766

6867
Support Lifecycle
6968
~~~~~~~~~~~~~~~~~

source/release-notes.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Release Notes
88
.. toctree::
99
:titlesonly:
1010

11-
/release-notes/1.6
1211
/release-notes/1.5
1312
/release-notes/1.4
1413
/release-notes/1.3

0 commit comments

Comments
 (0)