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
Update the implementation of the `LocalHealthMonitor` to ensure there is
always only 1 `UpdateHealthInfoCacheAction` request in-flight, and that
only 1 monitoring thread can update the "internal state" (i.e. the
`lastReportedValue` in the `HealthTracker`s) at the same time. By
enforcing this, we're avoiding potential concurrency issues. This PR
also includes several tests that aim to validate the behaviour of the
`LocalHealthMonitor` in specific multi-threaded situations.
Resolves#105065
Follow up on this thread.
There is a race condition in the
LocalHealthMonitor
regardingnull
values (i.e. initial/reset values):Can probably relatively easily be fixed by using some form of ref counting/versioning of the
lastReportedValue
.The text was updated successfully, but these errors were encountered: