]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/keystone: perf counter for cache hit wrong
authorTobias Urdin <tobias.urdin@binero.com>
Thu, 6 Nov 2025 08:47:52 +0000 (09:47 +0100)
committerTobias Urdin <tobias.urdin@binero.com>
Thu, 6 Nov 2025 08:47:52 +0000 (09:47 +0100)
commitff70af99748663983dac39636471be9898674b60
tree02a8c6387d9ace834c93d08eb93dc5599f8e0a83
parent7cc2a309f99c3e2e80a1d89e51053ead61d0e9f9
rgw/keystone: perf counter for cache hit wrong

The perf counter for cache_hit should not be increased
when the token is expired and find() returns false to
the caller.

When we return false to the caller it will continue
creating HTTP requests to Keystone and thus it's a
cache miss and not a hit.

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
src/rgw/rgw_keystone.cc