yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09334
[Bug 1276530] Re: memorycache#get scans the whole cache for expired items on every fetch
memorycache is synced in from oslo-incubator so the fix has to go there
first.
** Also affects: oslo
Importance: Undecided
Status: New
** Changed in: oslo
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1276530
Title:
memorycache#get scans the whole cache for expired items on every fetch
Status in OpenStack Compute (Nova):
In Progress
Status in Oslo - a Library of Common OpenStack Code:
Confirmed
Bug description:
Every time an item is fetched from the memory cache, the whole cache
is scanned for expired items:
https://github.com/openstack/nova/blob/master/nova/openstack/common/memorycache.py#L63-L67
This is not the right place to expire items - a large cache can become
slow. There should be a periodic task to take care of expired items.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1276530/+subscriptions
References