Bug #51560
the root cause of rgw.none appearance
% Done:
100%
Source:
Tags:
stats
Backport:
octopus pacific
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I find there are many bugs about rgw.none appearance and a high max_objects in rgw.none.
We also meet it. I think it is a trivial issue
I found the root cause is below:
the unaccount_entry is called without check entry exist when calling rgw_bucket_complete_op to remove remove_objs. These some entries of remove_objs would be in None category in some use case. These unaccount_entry call make header not accounts correctly.
fit it:
if (remove_entry.exits) {
unaccount_entry(header, remove_entry)
}
Related issues
History
#1 Updated by J. Eric Ivancich about 2 years ago
- Assignee set to J. Eric Ivancich
#2 Updated by J. Eric Ivancich about 2 years ago
- Status changed from New to Triaged
#3 Updated by J. Eric Ivancich about 2 years ago
- Status changed from Triaged to In Progress
#4 Updated by J. Eric Ivancich almost 2 years ago
- Pull request ID set to 43103
#5 Updated by J. Eric Ivancich almost 2 years ago
- Status changed from In Progress to Fix Under Review
#6 Updated by Casey Bodley almost 2 years ago
- Status changed from Fix Under Review to Pending Backport
- Tags set to stats
- Backport set to octopus pacific
#7 Updated by Backport Bot almost 2 years ago
- Copied to Backport #53254: pacific: the root cause of rgw.none appearance added
#8 Updated by Backport Bot almost 2 years ago
- Copied to Backport #53255: octopus: the root cause of rgw.none appearance added
#9 Updated by Backport Bot about 1 year ago
- Tags changed from stats to stats backport_processed
#10 Updated by Konstantin Shalygin 11 months ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
- Tags changed from stats backport_processed to stats