Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11760

Docs for SERVER-34314: Ensure change stream can resume between entries in applyOps entry

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 44 weeks, 2 days ago