-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
Fully Compatible
-
N&O 2026-05-11
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The otel histogram currently relies on the opentelemetry-cpp implementation, which is tied to the MeterProvider. If`_metricsService` is not re-initialized with a new MeterProvider (which updates the histograms' internal objects), when the old MeterProvider is destroyed the histograms will be left with objects that no longer point to anything valid. If a subsequent test that increments a histogram creates a new `OtelMetricsCapturer`, this is not a problem since the constructor initializes`_metricsService`, but if not it the access will be a use-after-free.
- fixes
-
SERVER-125132 Rebind histograms to NoopCapturer on capturer destruction
-
- Closed
-