summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-02-14 10:08:56 -0800
committerdormando <dormando@rydia.net>2022-02-14 10:08:56 -0800
commit7e58c6dd333b03e2cd7f1b1ef286da39f1a67fc3 (patch)
tree53edb3a1cc23258151ceb587a51fe9072b3ededd /vendor
parente03751b2c411dd69325cbb634ef6fc996a9518b2 (diff)
downloadmemcached-7e58c6dd333b03e2cd7f1b1ef286da39f1a67fc3.tar.gz
proxy: fix crash on `stats proxy` sans user stats
Fix is a little subtle: there's a race condition when a user stat is added to the global context but the worker threads aren't updated yet. So we check that the context in the user thread has enough stats slots to iterate, and that the user thread has stats at all.
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions