SERVER-138510ClosedFixed

primary_driven.js resume metric reader double-counts after OTel metrics file rotation

{{PrimaryDrivenResumableIndexBuildTest._readResumeMetrics()}} in {{jstests/noPassthrough/libs/index_builds/primary_driven.js}} assumes one OTel metrics file per node and sums the last cumulative snapshot of every file in the metrics directory. However, the OTel file exporter rotates files for a single node: * at midnight UTC, because the file name embeds the date ({{mongodb-<pid>-%Y%m%d-%N-metrics.jsonl}}, see {{src/mongo/otel/metrics/metrics_initialization.cpp}}) * when a file

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.