Project

General

Profile

Actions

Feature #62552

open

rgw: provide rgw-orphan-list a way to work with indexless buckets

Added by J. Eric Ivancich 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

This feature request originates from Madhavi Kasturi.

Currently rgw-orphan-list will error out if it encounters an indexless bucket. The reason is that it works by comparing the actual rados data objects against those expected by inspecting the indexes. Anything in the former group that's not in the latter group is considered an orphan, But objects in indexless buckets meet those criteria.

I believe there's a better algorithm. We can look for head objects that have the markers of indexless buckets and we can examine their manifests to determine their tail objects (including those that use a different marker due to a shallow copy). Those objects cannot be listed as orphans, so should be subtracted out from any list of orphans produced.

Actions

Also available in: Atom PDF