Project

General

Profile

Bug #22234

rgw usage trim only trims a few entries

Added by Abhishek Lekshmanan about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

rgw usage trim only trims a few entries (128 omap keys as per the code) which results in the need to call this multiple times in order to trim the stats. We need to loop internally in cls_rgw to clear all the keys for a user.


Related issues

Copied to rgw - Backport #22506: luminous: rgw usage trim only trims a few entries Resolved

History

#1 Updated by Abhishek Lekshmanan about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Abhishek Lekshmanan

#2 Updated by Abhishek Lekshmanan about 5 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to Luminous

#3 Updated by Nathan Cutler about 5 years ago

  • Backport changed from Luminous to luminous

#4 Updated by Yuri Weinstein about 5 years ago

Abhishek Lekshmanan wrote:

master pr: https://github.com/ceph/ceph/pull/19131

merged

#5 Updated by Nathan Cutler about 5 years ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #22506: luminous: rgw usage trim only trims a few entries added

#7 Updated by Nathan Cutler about 5 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF