Instead of only using the request_local_cache when an explicit set
occurs, make sure we always set the value for the request_local_cache
when we have to reach for the proxied backend.
The Context Local cache was being used previously when we were seeing
a mix of cache misses and hits. This change ensures we now always
set the value(s) as expected:
Change-Id: I4857cfe1e62d54c3c89a0206ffc895c4cf681ce5
Closes-Bug: #1567403
(cherry picked from commit 9b9bc7767fad36da1c764add842f85efdc48807b)
Reviewed: https:/ /review. openstack. org/304487 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=0fcc14666f8 ce67a3dc27bfdc8 a755d92ce290a5
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 0fcc14666f8ce67 a3dc27bfdc8a755 d92ce290a5
Author: Morgan Fainberg <email address hidden>
Date: Tue Apr 12 02:13:16 2016 -0700
Set the values for the request_local_cache
Instead of only using the request_local_cache when an explicit set
occurs, make sure we always set the value for the request_local_cache
when we have to reach for the proxied backend.
The Context Local cache was being used previously when we were seeing
a mix of cache misses and hits. This change ensures we now always
set the value(s) as expected:
Change-Id: I4857cfe1e62d54 c3c89a0206ffc89 5c4cf681ce5 a1c764add842f85 efdc48807b)
Closes-Bug: #1567403
(cherry picked from commit 9b9bc7767fad36d