Skip to content

Commit 55c0051

Browse files
committed
DOCS-11201: add blurb for deprecation of snapshot for non-mmapv1 engine
1 parent 7ab926c commit 55c0051

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

source/release-notes/3.6-compatibility.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,15 @@ Deprecated Options
538538

539539
.. versionchanged:: 3.6.1
540540

541-
- MongoDB 3.6.1 deprecates the ``snapshot`` query option. You can use
542-
:method:`~cursor.hint()` on the ``{ _id: 1}`` index instead to
543-
prevent a cursor from returning a document more than once if an
544-
intervening write operation results in a move of the document.
541+
- MongoDB 3.6.1 deprecates the ``snapshot`` query option.
542+
543+
For MMAPv1, use :method:`~cursor.hint()` on the ``{ _id: 1}`` index
544+
instead to prevent a cursor from returning a document more than once
545+
if an intervening write operation results in a move of the document.
546+
547+
For other storage engines, use :method:`~cursor.hint()` with ``{
548+
$natural : 1 }`` instead.
549+
545550

546551
- MongoDB 3.6.1 deprecates the ``$isolated`` option. For more
547552
information on read isolation, see

0 commit comments

Comments
 (0)