hystrix-go icon indicating copy to clipboard operation
hystrix-go copied to clipboard

rolling: Fix race condition in SortedDurations.

Open samfishman opened this issue 6 years ago • 0 comments

The access to r.CachedSortedDurations wasn't protected by a mutex, which caused a race with L70. So instead, read out r.CachedSortedDurations while we hold the reader lock to get the last cached time.

samfishman avatar May 15 '18 18:05 samfishman