MEMOIZE_TOKENS set token to cache when validating token

Bug #1899876 reported by jun923.gu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
New
Undecided
Unassigned

Bug Description

We encounter this situation that MEMOIZE_TOKENS decorator will set token to cache when validating token. We take a deeper look at the cache codes and found that dogpile will call get_or_create function. That is, if fail to get token from cache, dogpile will set token to cache. As we config CONF.token.cache_on_issue to False, we would not wish token setted into cache.

jun923.gu (gujun1989)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.