Make pullers in StatsPullAtomService thread-safe
If statsd times out on a puller before it finishes and then calls another puller, it is possible for pullers to execute concurrently, necessitating proper synchronization. We guard each puller (or a group of pullers that share member variables) with a lock to fix the synchronizatino issue. This is overly pessimistic, but ensures correctness. Test: m Test: atest CtsStatsdHostTestCases Bug: 157906917 Change-Id: Ib050b967f0a5ee6936d3a0a384670d5efb331b72
Loading
Please register or sign in to comment