Project

General

Profile

Actions

Bug #36496

closed

cls_user_remove_bucket does not write the modified cls_user_stats

Added by Casey Bodley over 5 years ago. Updated over 5 years ago.

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

0%

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

Description

cls_user_remove_bucket() calls dec_header_stats() to update the header's stats, but does not actually write the modified header. as a result, 'radosgw-admin bucket unlink' will break the user's stats


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #36533: mimic: cls_user_remove_bucket does not write the modified cls_user_statsResolvedNathan CutlerActions
Copied to rgw - Backport #36534: luminous: cls_user_remove_bucket does not write the modified cls_user_statsResolvedCasey BodleyActions
Actions

Also available in: Atom PDF