Project

General

Profile

Actions

Bug #63656

open

RGW usage not trimmed fully if many keys to delete in a shard

Added by Gaudenz Steinlin 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

If there are a lot of usage log entries to trim in a usage shard, not all entries are trimmed in some cases.

I suspect this has to do with MAX_USAGE_TRIM_ENTRIES being set to 1000 in `cls/rgw/cls_rgw.cc` and somehow the looping of not all entries were trimmed does not work. But also repeatedly calling the same trim command did not help.

We observed this when trying to trim usage log entries for all users in one call. When trimming the same usage log entries in a loop over all users the entries were correctly trimmed.

No data to display

Actions

Also available in: Atom PDF