LRU and LU caches never evict entries that came in as a seed and are never accessed

Description

If one initializes an LRU or LU cache with seed data and those datum are never touched, then they are never evicted.

You would expect that the cache should contain only :d and :e, but it instead includes :a, :b, :d and :e! The problem is that seeds are never added to the eviction queue.

Environment

None

Activity

Show:
Sean Corfield
March 1, 2018, 4:50 AM

Closing out all resolved issues as of 0.6.5 in order to track the next release.

Fogus
March 14, 2012, 2:15 PM

Fixed in 5751b7e8d8d2f10c87b8a79c8ed9b0324368514d

Completed

Assignee

Fogus

Reporter

Fogus

Labels

Approval

None

Patch

None

Priority

Major