← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1641652] Re: cache invalidation should be wrapped to local context

 

Reviewed:  https://review.openstack.org/380376
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=944b3b0986354668909eea3caae132f2ba5dd808
Submitter: Jenkins
Branch:    master

commit 944b3b0986354668909eea3caae132f2ba5dd808
Author: Boris Bobrov <bbobrov@xxxxxxxxxxxx>
Date:   Fri Sep 30 16:20:58 2016 +0300

    Wrap invalidation region to context-local cache
    
    Since we started to use invalidation strategy, region_id of cache
    is stored in cache itself in a special region. This requires fetching
    region id from memcached, which might be slow. In order to prevent
    unnecessary lookups of region id, wrap the code in request-local
    cache, which is very fast.
    
    This change increases performance and doesn't fix functionality
    bugs.
    
    Closes-Bug: 1641652
    
    Change-Id: I386cf15c51f88ac4a733ec357f62ebebda8d3699


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1641652

Title:
  cache invalidation should be wrapped to local context

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  When [1] merged, it fixed many caching issues and bug, but created
  another. The region invalidation should be wrapped to the local
  context.

  [1]
  https://github.com/openstack/keystone/commit/42eda48c78f1153081b4c193dc13c88561409fd3

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1641652/+subscriptions


References