← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1602906] [NEW] apply_invalidation_patch will not work as intended

 

Public bug reported:

https://github.com/openstack/keystone/blob/cd906266e67c8a8a8ae9676d2fa6dd1bd2f59bd8/keystone/common/cache/core.py#L102

As we already learned, we cannot replace descriptors on an object
instance, so after calling `apply_invalidation_patch`, it merely set
both `_hard_invalidated` and `_soft_invalidated` **once** from the cache
backend.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
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/1602906

Title:
  apply_invalidation_patch will not work as intended

Status in OpenStack Identity (keystone):
  New

Bug description:
  https://github.com/openstack/keystone/blob/cd906266e67c8a8a8ae9676d2fa6dd1bd2f59bd8/keystone/common/cache/core.py#L102

  As we already learned, we cannot replace descriptors on an object
  instance, so after calling `apply_invalidation_patch`, it merely set
  both `_hard_invalidated` and `_soft_invalidated` **once** from the
  cache backend.

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