Skip to content

Commit 38e4da0

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24882 set window fields and transaction (#1734) (#1743)
* 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]> Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 9fffdb2 commit 38e4da0

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
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
@@ -250,6 +250,11 @@ Update Operator Processing Order
250250

251251
.. include:: /includes/fact-update-operator-processing-order.rst
252252

253+
``$setWindowFields`` Stage with Transactions and Snapshot Read Concern
254+
----------------------------------------------------------------------
255+
256+
.. include:: /includes/fact-setWindowFields-snapshot-restriction.rst
257+
253258
Aggregation Pipeline Operator Parameter Limits
254259
----------------------------------------------
255260

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

0 commit comments

Comments
 (0)