Descriptionimpl/memory: Fix memcache stats race.
Fix a race in memcache stats that was caused by modification of common
stats varibles while holding a possibly-shared RLock. This fix switches
locking from RWMutex to Mutex, since potentially every access contains
mutations to the shared state.
BUG=None
TEST=local
- Re-ran external test with fix, race no longer triggered.
R=iannucci@chromium.org
Committed: https://github.com/luci/gae/commit/c12ab6ff5cb4e6d9f78c89a172f8cc08bcdf56d5
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (3 generated)
|