-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
The eventIdentifier field in a change stream resume token is currently encoded as the raw documentKey or operationDescription of the associated event. It is therefore of indeterminate size, and since resume tokens are repeated several times in a batch of results (_id, sort key, postBatchResumeToken) this places some constraints on the maximum size of an event.
For the telemetry and query settings projects, we have opted to encode query shape as a SHA-256 hash, considering this sufficient to avoid collisions. We should consider doing the same for eventIdentifier.