Bug 1882484 - GC perfcounter fails to update when deletion occurs
Summary: GC perfcounter fails to update when deletion occurs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2
Assignee: Pritha Srivastava
QA Contact: Tejas
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 1890121
TreeView+ depends on / blocked
 
Reported: 2020-09-24 17:14 UTC by Tim Wilkinson
Modified: 2021-06-09 16:16 UTC (History)
18 users (show)

Fixed In Version: ceph-14.2.11-57.el8cp, ceph-14.2.11-57.el7cp
Doc Type: Bug Fix
Doc Text:
.gc perf counters increments when gc entries are purged from the system Previously, gc perf counters did not increment when gc entries were purged from the system. With this code update, the correct value of gc perf counter is observed in accordance with the number of gc entries that have been deleted from the system.
Clone Of:
Environment:
Last Closed: 2021-01-12 14:57:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 37409 0 None closed rgw/gc: fix for incrementing the perf counter 'gc_retire_object' 2021-02-17 15:19:02 UTC
Red Hat Product Errata RHSA-2021:0081 0 None None None 2021-01-12 14:57:43 UTC

Description Tim Wilkinson 2020-09-24 17:14:39 UTC
Description of problem:
----------------------
Querying gc_retire_object in the 4.1 RGW daemon socket shows zeroes



Version-Release:
---------------
ceph-*-14.2.8-91.el7cp.x86_64



How reproducible:
----------------
consistent



Actual results:
--------------
# ceph daemon `ls /var/run/ceph/ceph-client.rgw.*.asok|tail -1` perf dump |grep gc_retire_object | awk -F'[0-9]:' '{ print $1}'
        "gc_retire_object": 0,

Comment 1 RHEL Program Management 2020-09-24 17:14:42 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 24 Madhavi Kasturi 2020-12-03 10:29:25 UTC
on build ceph version 14.2.11-84.el7cp , with steps mentioned in comment #9, the values of 'gc_retire_object' reflects post gc

[root@magna056 ubuntu]# ceph daemon `ls /var/run/ceph/ceph-client.rgw.*.asok|tail -1` perf dump |grep gc_retire_object | awk -F'[0-9]:' '{ print $1}'
        "gc_retire_object": 100,


Moving this BZ to verified.

Comment 28 errata-xmlrpc 2021-01-12 14:57:21 UTC
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 (Important: Red Hat Ceph Storage 4.2 Security and Bug Fix update), 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-2021:0081


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