-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
Labels:None
Documentation Request Summary:
Each entry in the change stream will now include a 'clusterTime' field, which is equivalent to the 'ts' field from the oplog entry that generated it.
Scope of changes:
- reference/change-events
- not sure if we need to blurb in the main changeStream page as we don't go into event details.
Impact to other docs outside of this product:
none
MVP:
Resources:
Engineering Ticket Description:
By exposing the "ts" field from the oplog entry in a changestream entry, we give the consumer all the information they need to create a BSON document that sorts in the same order as changestream entries appear, without needing to make the resume token transparent.
- documents
-
SERVER-34181 Expose the "ts" value from oplog entries in the changestream as "clusterTime"
- Closed
- related to
-
DOCS-11596 Docs for SERVER-34087: Add db.getMongo().watch() helper to watch all changes for the cluster
- Closed