-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2024-10-28, QE 2024-11-11
Currently, we cannot decode change stream resume tokens in our JavaScript tests. Resume token contain a bunch of information such as timestamp, version, object IDs, transaction-related info etc., and it is key-string encoded.
It would be very useful to decode this information for assertion and debugging.
We can either port an existing TypeScript or C++ code to JavaScript, or expose/link the relevant server code function to the JavaScript environment in mongo (old) shell that we use for testing.
- duplicates
-
SERVER-55978 Add functionality to the shell to decode a resume token
- Closed
- is related to
-
SERVER-32283 Add an expression to inspect the resume token of a change stream
- Closed