Description
ATS keeps a thread-local copy of the stat value and aggregates it periodically and on demand when stats are being collected. However the decrement function doesn't let a value go negative. So in a thread that has not incremented this stat previously, the decrement call "fails". This negative value check is logically flawed as it doesn't account for the per-thread distribution of the stats.
Attachments
Attachments
Issue Links
- duplicates
-
TS-1632 RecDecrRawStat does not seem to work as intended
- Closed