-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Execution
-
QE 2024-10-28, QE 2024-11-11
-
(copied to CRM)
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.
- is duplicated by
-
SERVER-33819 Add $decodeResumeToken expression
- Closed
- is related to
-
SERVER-55978 Add functionality to the shell to decode a resume token
- Closed
- related to
-
SERVER-34313 Change resume token format to be encoded as a string
- Closed
-
SERVER-34181 Expose the "ts" value from oplog entries in the changestream as "clusterTime"
- Closed
-
SERVER-82330 Ability to decode change stream resume tokens in JS tests
- Closed