Bug 2182385

Summary: [rgw][rfe]: Object reindex tool should recover the index for 'versioned' buckets (6.1z2)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vidushi Mishra <vimishra>
Component: RGWAssignee: J. Eric Ivancich <ivancich>
Status: MODIFIED --- QA Contact: Madhavi Kasturi <mkasturi>
Severity: urgent Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.3CC: akraj, bkunal, ceph-eng-bugs, cephqe-warriors, ckulal, goberle, gsitlani, ivancich, linuxkidd, lithomas, mbenjamin, mcaldeir, mkasturi, rmandyam, tserlin, vumrao
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.1z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-82.el9cp Doc Type: Enhancement
Doc Text:
._rgw-restore-bucket-index_ tool can now restore the bucket indices for versioned buckets With this enhancement, to enable the _rgw-restore-bucket-index_ tool to work as broadly as possible, the ability to restore the bucket indices for versioned buckets, in addition to its existing ability working with un-versioned buckets, is added.
Story Points: ---
Clone Of:
: 2227689 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2221020, 2224636, 2227689    

Description Vidushi Mishra 2023-03-28 14:00:39 UTC
Description of problem:

If a versioned bucket created with num_shards 0 is resharded, the metadata is lost.

The rgw-restore-bucket-index tool helps in recovering the index, but it is yet not supported for versioned buckets.


The https://bugzilla.redhat.com/show_bug.cgi?id=2174235#c49

Version-Release number of selected component (if applicable):


ceph-5.3 latest

How reproducible:

Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: