|
| 1 | +- Writes that produce :term:`DDL <DDL (Data Definition Language)>` events cannot |
| 2 | + occur on the source cluster during the migration. The following events cannot |
| 3 | + occur: |
| 4 | + |
| 5 | + - ``collMod`` |
| 6 | + - ``create`` |
| 7 | + - ``createIndexes`` |
| 8 | + - ``drop`` |
| 9 | + - ``dropDatabase`` |
| 10 | + - ``dropIndexes`` |
| 11 | + - ``refineCollectionShardKey`` |
| 12 | + - ``rename`` |
| 13 | + - ``reshardCollection`` |
| 14 | + - ``shardCollection`` |
| 15 | + |
| 16 | + This includes operations that may create new collections such as |
| 17 | + :dbcommand:`mapReduce`, :pipeline:`$out`, and :pipeline:`$merge`. This also |
| 18 | + includes collections created implicitly from inserts. Only writes that produce |
| 19 | + CRUD events can occur during the migration. |
| 20 | + |
| 21 | + .. note:: |
| 22 | + |
| 23 | + Writes that produce DDL events on source collections outside of the |
| 24 | + :ref:`namespace filter <c2c-filtered-sync>` are allowed. |
| 25 | + |
| 26 | +- ``geoHaystack`` indexes are not supported. |
| 27 | + |
| 28 | +- :ref:`/reverse <c2c-api-reverse>` endpoint is not supported. You can't |
| 29 | + enable the ``reversible`` option in the :ref:`/start <c2c-api-start>` request. |
| 30 | + |
| 31 | +- You can't enable the ``enableUserWriteBlocking`` option in the ``/start`` |
| 32 | + request. Ensure that no writes are made to the source or destination cluster |
| 33 | + during the migration. |
| 34 | + |
| 35 | +- You can't enable the ``createSupportingIndexes`` :ref:`sharding parameter |
| 36 | + <c2c-api-start-sharding>`. Instead, create an index to support your shard key |
| 37 | + on the source cluster. |
| 38 | + |
| 39 | +- If there are any indexes with inconsistent specs or that are missing |
| 40 | + ``mongosync`` returns an error. To check for index inconsistencies, see |
| 41 | + :ref:`manage-indexes-find-inconsistent-indexes`. |
| 42 | + |
| 43 | +- For source clusters running MongoDB 4.4, :ref:`SRV connection strings |
| 44 | + <connections-dns-seedlist>` are not supported. You must use a |
| 45 | + :ref:`standard connection string |
| 46 | + <connections-standard-connection-string-format>`. |
0 commit comments