[DOCS-11760] Docs for SERVER-34314: Ensure change stream can resume between entries in applyOps entry Created: 01/Jun/18  Updated: 29/Oct/23  Resolved: 24/Jun/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-34314 Ensure change stream can resume betwe... Closed
Related
related to DOCS-11715 Docs for SERVER-34818: changeStream o... Closed
Participants:
Days since reply: 5 years, 33 weeks, 3 days ago
Epic Link: DOCS: 4.0 Server

 Description   

Description:

As part of this ticket we also added some fields which are present only for change stream documents generated from an operation run inside of a transaction.

The fields are:
"txnNumber" (the transaction number)
"lsid" (which session the transaction was run in)

Scope of changes:

  • reference/change-events
  • changeStreams
  • 4.0 in change streams section
  • For now, won't blurbing in txn docs for this use case as the info seems more relevant in change streams section.

Impact to other docs outside of this product:

MVP:

Resources:

Engineering Ticket Description:

The current resume token format is not sufficient to impose a total ordering on all changes once we unpack operations from within an applyOps array into one change each. Changes within an applyOps can all have identical resume tokens if there are multiple updates to the same document.



 Comments   
Comment by Githook User [ 24/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: DOCS-11561,DOCS-11760: startAtOperationTime, ``txnNumber`` and the ``lsid`` fields
Branch: master
https://github.com/mongodb/docs/commit/62e8fee82f48037778f557ecd5975873dff4f799

Generated at Thu Feb 08 08:03:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.