Skip to content

Commit 2340325

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24882 set window fields and transaction (#1734)
* DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction Co-authored-by: jason-price-mongodb <[email protected]>
1 parent f504c8a commit 2340325

6 files changed

+16
-14
lines changed

source/includes/fact-5.1-setWindowFields-snapshot-restriction.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
In MongoDB versions earlier than 5.3, the :pipeline:`$setWindowFields`
2+
aggregation pipeline stage cannot be used with :ref:`transactions
3+
<transactions>` or the :readconcern:`"snapshot"` read concern.

source/release-notes/5.0-compatibility.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ Update Operator Processing Order
267267

268268
.. include:: /includes/fact-update-operator-processing-order.rst
269269

270+
``$setWindowFields`` Stage with Transactions and Snapshot Read Concern
271+
----------------------------------------------------------------------
272+
273+
.. include:: /includes/fact-setWindowFields-snapshot-restriction.rst
274+
270275
Aggregation Pipeline Operator Parameter Limits
271276
----------------------------------------------
272277

source/release-notes/5.1-compatibility.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,10 @@ Removed Parameters
6161

6262
.. include:: /includes/5.1/removed-shell-parameters.rst
6363

64-
Aggregation
65-
-----------
64+
``$setWindowFields`` Stage with Transactions and Snapshot Read Concern
65+
----------------------------------------------------------------------
6666

67-
``$setWindowFields`` Transactions and Snapshot Read Concern
68-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69-
70-
.. include:: /includes/fact-5.1-setWindowFields-snapshot-restriction.rst
67+
.. include:: /includes/fact-setWindowFields-snapshot-restriction.rst
7168

7269
Replica Sets
7370
------------

source/release-notes/5.2-compatibility.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Compatibility Changes in MongoDB 5.2
1717
The following 5.2 changes can affect compatibility with older versions
1818
of MongoDB.
1919

20+
``$setWindowFields`` Stage with Transactions and Snapshot Read Concern
21+
----------------------------------------------------------------------
22+
23+
.. include:: /includes/fact-setWindowFields-snapshot-restriction.rst
24+
2025
Removed Parameters
2126
------------------
2227

source/release-notes/6.0-compatibility.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ see :ref:`release-version-numbers`.
2727
Aggregation
2828
-----------
2929

30-
``$setWindowFields`` Transactions and Snapshot Read Concern
31-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32-
33-
.. include:: /includes/fact-5.1-setWindowFields-snapshot-restriction.rst
34-
3530
``allowDiskUse`` Changes
3631
~~~~~~~~~~~~~~~~~~~~~~~~
3732

0 commit comments

Comments
 (0)