-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Change streams
-
None
-
Query Execution
-
Fully Compatible
-
QE 2026-04-13
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Adds the following cumulative, process-wide serverStatus metrics for change streams pre-images collection sampling:
- changeStreamPreImages.markerCreation.totalPass: total number of pre-image sampling passes. On ASC, the pre-images sampling is supposed to happen shortly after node start, on all node types of a cluster (primary and secondaries). The pre-images are typically not resampled during the lifetime of a node. On DSC, pre-images sampling happens on every node step-up as a primary. Sampling can happen multiple times during the lifetime of a node.
- changeStreamPreImages.markerCreation.scannedInternalCollections: total number of user collection UUID ranges sampled in the system pre-images collection. When a sampling pass occurs, this metric is typically increased by the number of user collections that have change streams pre-images enabled and contain active pre-images.
- changeStreamPreImages.markerCreation.timeElapsedMillis: cumulated number of milliseconds spent on pre-images sampling.
- is depended on by
-
COMPASS-10542 Investigate changes in SERVER-123147: Add serverStatus metrics for pre-images sampling
-
- Needs Triage
-
-
TOOLS-4161 Investigate changes in SERVER-123147: Add serverStatus metrics for pre-images sampling
-
- Closed
-
- is related to
-
SERVER-122854 Add knob to control number of pre-image samples
-
- Closed
-