You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the introduction of ObservationValidator in Micrometer, reactor-core-micrometer can produce errors on cancelled Monos that already delivered a value.
This change prevents multiple `Observation.stop` calls with proper
guardrails in `MicrometerObservationListener`. Since cancellation can
happen out-of-band on a different `Thread`, a `volatile` state has been
introduced to prevent duplicate `Observation` terminations.
Resolves#3972
Signed-off-by: Dariusz Jędrzejczyk <[email protected]>
Since the introduction of
ObservationValidator
in Micrometer, reactor-core-micrometer can produce errors on cancelledMono
s that already delivered a value.Originally reported in micrometer-metrics/micrometer#5802 by @mathiaskinzler.
Expected Behavior
No error logs should happen.
Actual Behavior
Steps to Reproduce
Possible Solution
Analyze and fix the state machine in
MicrometerObservationListener
.Your Environment
netty
, ...): io.micrometer:micrometer-bom 1.14.3The text was updated successfully, but these errors were encountered: