Project

General

Profile

Actions

Bug #56536

closed

cls_rgw: nonexists object shoud not be accounted when check_index

Added by Huber ming almost 2 years ago. Updated 7 months ago.

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

100%

Source:
Community (user)
Tags:
stats backport_processed
Backport:
quincy pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

nonexists object has been accounted when check bucket index.
steps:
1 create bucket test and set version enable
2 put object test_obj to bucket test and delete it without versionid(will create a delete marker)
3 check bucket index with CLI radosgw-admin bucket check --bucket test --check-objects --fix
4 CLI radosgw-admin bucket stats --bucket test show usage->rgw.none->num_objects = 2


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #56677: quincy: cls_rgw: nonexists object shoud not be accounted when check_indexResolvedKonstantin ShalyginActions
Copied to rgw - Backport #56678: pacific: cls_rgw: nonexists object shoud not be accounted when check_indexResolvedKonstantin ShalyginActions
Actions

Also available in: Atom PDF