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 @@ -400,6 +400,8 @@ Restrictions
400
400
401
401
- .. include:: /includes/extracts/transactions-cross-shard-collection-restriction.rst
402
402
403
+ - .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
404
+
403
405
- For explicit creation of a collection or an index inside a
404
406
transaction, the transaction read concern level must be
405
407
: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
163
163
Sharded Collections
164
164
~~~~~~~~~~~~~~~~~~~
165
165
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
168
171
169
172
Max Depth
170
173
~~~~~~~~~
Original file line number Diff line number Diff line change @@ -498,8 +498,11 @@ Using $lookup </atlas-search/tutorial/lookup-with-search/>`.
498
498
Sharded Collections
499
499
~~~~~~~~~~~~~~~~~~~
500
500
501
- Starting in MongoDB 5.1, you can specify :ref:`sharded collections <sharding-sharded-cluster>`
502
- in the ``from`` parameter of :pipeline:`$lookup` stages.
501
+ Starting in MongoDB 5.1, you can specify :ref:`sharded collections
502
+ <sharding-sharded-cluster>` in the ``from`` parameter of
503
+ :pipeline:`$lookup` stages.
504
+
505
+ .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
503
506
504
507
|sbe-title|
505
508
~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -412,6 +412,8 @@ MongoDB 6.0 introduces the following aggregation operators:
412
412
413
413
.. include:: /includes/5.1-fact-sharded-lookup-graphlookup.rst
414
414
415
+ .. include:: /includes/graphLookup-sharded-coll-transaction-note.rst
416
+
415
417
.. _6.0-rel-notes-change-streams:
416
418
417
419
Change Streams
You can’t perform that action at this time.
0 commit comments