Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1584829 - objects in cache never refresh after rgw_cache_expiry_interval
objects in cache never refresh after rgw_cache_expiry_interval
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
2.5
x86_64 Linux
unspecified Severity medium
: z1
: 2.5
Assigned To: Matt Benjamin (redhat)
Tejas
Aron Gunn
:
Depends On:
Blocks: 1536401 1585748 1585750
  Show dependency treegraph
 
Reported: 2018-05-31 14:04 EDT by Justin Bautista
Modified: 2018-07-26 14:08 EDT (History)
12 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.10-22.el7cp Ubuntu: ceph_10.2.10-19redhat1
Doc Type: Bug Fix
Doc Text:
.Cache entries were not refreshing as expected The new time-based metadata cache entry expiration logic did not include logic to update the expiration time on already-cached entries being updated in place. Cache entries became permanently stale after expiration, leading to a performance regression as metadata objects were effectively not cached and always read from the cluster. Logic was added to update the expiration time of cached entries when updated.
Story Points: ---
Clone Of:
: 1585748 1585750 (view as bug list)
Environment:
Last Closed: 2018-07-26 14:06:48 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 24346 None None None 2018-05-31 14:04 EDT
Red Hat Product Errata RHSA-2018:2261 None None None 2018-07-26 14:08 EDT

  None (edit)
Description Justin Bautista 2018-05-31 14:04:21 EDT
Creating BZ based on upstream pull request/tracker: 
https://github.com/ceph/ceph/pull/22324

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
Comment 21 errata-xmlrpc 2018-07-26 14:06:48 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2261

Note You need to log in before you can comment on or make changes to this bug.