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: