objects in cache never refresh after rgw_cache_expiry_interval
ObjectCacheInfo::time_added is only initialized on first insert. so once an entry reaches its rgw_cache_expiry_interval, it can't be refreshed until the lru removes its entry entirely
#3 Updated by Casey Bodley over 4 years ago
Matt Benjamin wrote:
I'm unclear why there is any trace of already-expired items. I guess the intrusive cache change doesn't have this issue?
ObjectCache::get() only takes a read lock, so does not remove these expired items from the map. the lru will remove them eventually
#10 Updated by Pavan Rallabhandi over 4 years ago
Nathan Cutler wrote:
Pavan Rallabhandi wrote:
It would be great if this can make it to Jewel 10.2.11, thanks!
Do you want to take #24386 then? If you stage the backport quickly, it might make it in.
Sorry Nathan, somehow missed this update. Have raised a backport PR for Jewel now, hope this is still in time.