Skip to content

Commit 256fb12

Browse files
committed
DOCSP-1491: deprecate isolated and snapshot options
1 parent 79fb6d8 commit 256fb12

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/release-notes/3.6-compatibility.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,21 @@ index keys.
442442
To delete existing indexes named ``*``, delete the index before
443443
upgrading. To rename them, delete and recreate the index.
444444

445+
.. _3.6-deprecated-options:
446+
447+
Deprecated Options
448+
~~~~~~~~~~~~~~~~~~
449+
450+
.. versionchanged:: 3.6.1
451+
452+
- MongoDB 3.6.1 deprecates the ``snapshot`` query option. You can use
453+
:method:`~cursor.hint()` on the ``{ _id: 1}`` index instead to
454+
prevent a cursor from returning a document more than once if an
455+
intervening write operation results in a move of the document.
456+
457+
- MongoDB 3.6.1 deprecates the ``$isolated`` option. For more
458+
information on read isolation, see
459+
:doc:`/core/read-isolation-consistency-recency`.
445460

446461
.. _3.6-compatibility-enabled:
447462

0 commit comments

Comments
 (0)