Project

General

Profile

Bug #36496

cls_user_remove_bucket does not write the modified cls_user_stats

Added by Casey Bodley about 4 years ago. Updated about 4 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

Copied to rgw - Backport #36533: mimic: cls_user_remove_bucket does not write the modified cls_user_stats Resolved
Copied to rgw - Backport #36534: luminous: cls_user_remove_bucket does not write the modified cls_user_stats Resolved

History

#1 Updated by Casey Bodley about 4 years ago

  • Status changed from New to 7

#2 Updated by Casey Bodley about 4 years ago

  • Status changed from 7 to Pending Backport

#3 Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #36533: mimic: cls_user_remove_bucket does not write the modified cls_user_stats added

#4 Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #36534: luminous: cls_user_remove_bucket does not write the modified cls_user_stats added

#5 Updated by Nathan Cutler about 4 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF