File tree Expand file tree Collapse file tree 5 files changed +16
-4
lines changed
reference/operator/aggregation Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,8 @@ Restrictions
409409
410410- .. include:: /includes/extracts/transactions-cross-shard-collection-restriction.rst
411411
412+ - .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
413+
412414- For explicit creation of a collection or an index inside a
413415 transaction, the transaction read concern level must be
414416 :readconcern:`"local"`. Explicit creation is through:
Original file line number Diff line number Diff line change 1+ You **cannot ** use the ``$graphLookup `` stage within a transaction while
2+ targeting a sharded collection.
Original file line number Diff line number Diff line change @@ -163,8 +163,11 @@ Considerations
163163Sharded Collections
164164~~~~~~~~~~~~~~~~~~~
165165
166- Starting in MongoDB 5.1, you can specify :ref:`sharded collections <sharding-sharded-cluster>`
167- in the ``from`` parameter of :pipeline:`$graphLookup` stages.
166+ Starting in MongoDB 5.1, you can specify :ref:`sharded collections
167+ <sharding-sharded-cluster>` in the ``from`` parameter of
168+ :pipeline:`$graphLookup` stages.
169+
170+ .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
168171
169172Max Depth
170173~~~~~~~~~
Original file line number Diff line number Diff line change @@ -501,8 +501,11 @@ Using $lookup </atlas-search/tutorial/lookup-with-search/>`.
501501Sharded Collections
502502~~~~~~~~~~~~~~~~~~~
503503
504- Starting in MongoDB 5.1, you can specify :ref:`sharded collections <sharding-sharded-cluster>`
505- in the ``from`` parameter of :pipeline:`$lookup` stages.
504+ Starting in MongoDB 5.1, you can specify :ref:`sharded collections
505+ <sharding-sharded-cluster>` in the ``from`` parameter of
506+ :pipeline:`$lookup` stages.
507+
508+ .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
506509
507510|sbe-title|
508511~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -394,6 +394,8 @@ MongoDB 6.0 introduces the following aggregation operators:
394394
395395.. include:: /includes/5.1-fact-sharded-lookup-graphlookup.rst
396396
397+ .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
398+
397399.. _6.0-rel-notes-change-streams:
398400
399401Change Streams
You can’t perform that action at this time.
0 commit comments