Skip to content

Commit 7012353

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

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
@@ -322,14 +322,7 @@ To retrieve the :ref:`data change event <change-stream-output>` from
322322
the cursor, iterate the change stream cursor. For information on the
323323
change stream event, see :ref:`change-stream-output`.
324324

325-
While the connection to the MongoDB deployment remains
326-
open, the cursor remains open until one of the following occurs:
327-
328-
- The cursor is explicitly closed.
329-
330-
- An :ref:`invalidate event <change-event-invalidate>` occurs.
331-
332-
- .. include:: /includes/extracts/changestream-remove-shard.rst
325+
.. include:: /includes/extracts/changestream-cursor-open.rst
333326

334327
.. note::
335328

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)