Skip to content

Commit fc1532e

Browse files
authored
DOCSP 15432 consolidating change stream updates (#1445)
* DOCS-15432 consolidating change stream updates * DOCS-15432 consolidating change stream updates * DOCS-15432 consolidating change stream updates * DOCS-15432 small edits
1 parent c89ee8a commit fc1532e

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

source/release-notes/6.0.txt

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,38 @@ MongoDB 6.0 introduces the following aggregation operators:
144144
Change Streams
145145
--------------
146146

147+
Optimized Change Streams
148+
~~~~~~~~~~~~~~~~~~~~~~~~
149+
147150
.. |change-streams| replace:: :ref:`change streams <changeStreams>`
148151

149152
.. include:: /includes/change-streams-optimization.rst
150153

154+
155+
``wallTime`` Change Stream Output Field
156+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157+
151158
Starting in MongoDB 6.0, the :ref:`change stream output
152159
<change-stream-output>` has a new ``wallTime`` field that contains the
153160
server date and time of the database operation.
154161

162+
Change Streams with Document Pre- and Post-Images
163+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164+
165+
Starting in MongoDB 6.0, you can use :ref:`change streams
166+
<change-stream-output>` to output the version of a document before and
167+
after changes (the document pre- and post-images). For examples, see
168+
:ref:`db.collection.watch-change-streams-pre-and-post-images-example`.
169+
170+
Change Stream Expanded Events
171+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172+
173+
Starting in MongoDB 6.0, change streams can show additional
174+
change events for DDL operations, like creating indexes and dropping
175+
collections.
176+
177+
For more information, see :ref:`Expanded Events <change-streams-expanded-events>`.
178+
155179
Cluster Administration
156180
----------------------
157181

@@ -664,23 +688,6 @@ Starting in MongoDB 6.0, the :ref:`collStats output <collStats-output>`
664688
includes the :data:`collStats.numOrphanDocs` field that shows the number of
665689
:term:`orphaned documents <orphaned document>` in the collection.
666690

667-
Change Streams with Document Pre- and Post-Images
668-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
669-
670-
Starting in MongoDB 6.0, you can use :ref:`change streams
671-
<change-stream-output>` to output the version of a document before and
672-
after changes (the document pre- and post-images). For examples, see
673-
:ref:`db.collection.watch-change-streams-pre-and-post-images-example`.
674-
675-
Change Stream Expanded Events
676-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
677-
678-
Starting in MongoDB 6.0, change streams can be configured to show additional
679-
change events for DDL operations, like index creation and collection drop.
680-
681-
For more information, see :ref:`Expanded Events <change-streams-expanded-events>`.
682-
683-
684691
Exclude Embedded Fields in ``serverStatus`` Output
685692
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
686693

0 commit comments

Comments
 (0)