-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2026-05-11, QE 2026-04-27, QE 2026-03-30, QE 2026-04-13
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Collect the following metrics at cursor level (currentOp) on mongoD:
- cursor.changeStreams.optime
- Operation time (cluster time) of the current oplog entry at cursor position.
- The optime of the latest event that we've sent or the current 'high-watermark'.
An important implementation decision is when to update the metrics, since some of the oplog scanning functionality is done by the classic find-subsystem. A viable option is to do this in the earliest change stream stage of the aggregation pipeline ($_internalChangeStreamOplogMatch).
- is related to
-
SERVER-125528 Add cursor.changeStreams.optime to $currentOp on mongoS
-
- Closed
-