Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32283

Add an expression to inspect the resume token of a change stream

    • Query Execution
    • QE 2024-10-28, QE 2024-11-11

      For diagnostic or scripting purposes, it might be useful to inspect the values of the different pieces of a resume token:

      • The collection's UUID
      • The timestamp of the change
      • The document key for the changed document

      Cases this has come up include:

      • Writing performance tests for change streams, wanting to inspect the cluster time of each change.
      • Debugging a test failure during development on SERVER-31447.

      A good way to expose this information might be through an aggregation expression.

            Assignee:
            Unassigned Unassigned
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            5 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated: