Skip to content

Commit 4ad3667

Browse files
authored
DOCSP-27536-change-stream-cursor-timeout (#5526) (#5567)
* DOCSP-27536-change-stream-cursor-timeout * Removing unnecessary file from another project. * DOCSP-27536: Fixed ref formatting and made tense consistent.
1 parent d44db32 commit 4ad3667

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

source/changeStreams.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,7 @@ To retrieve the :ref:`data change event <change-stream-output>` from
333333
the cursor, iterate the change stream cursor. For information on the
334334
change stream event, see :ref:`change-stream-output`.
335335

336-
While the connection to the MongoDB deployment remains
337-
open, the cursor remains open until one of the following occurs:
338-
339-
- The cursor is explicitly closed.
340-
341-
- An :ref:`invalidate event <change-event-invalidate>` occurs.
342-
343-
- .. include:: /includes/extracts/changestream-remove-shard.rst
336+
.. include:: /includes/extracts/changestream-cursor-open.rst
344337

345338
.. note::
346339

source/includes/extracts-changestream.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ content: |
7777
- An :ref:`invalidate event <change-event-invalidate>` occurs; for
7878
example, a collection drop or rename.
7979
80-
- The connection to the MongoDB deployment is closed.
80+
- The connection to the MongoDB deployment closes or times out.
81+
See :ref:`cursor-behaviors` for more information.
8182
8283
- .. include:: /includes/extracts/changestream-remove-shard.rst
8384
---

0 commit comments

Comments
 (0)