]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix regression in radoslist with SLO manifests
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 18 Mar 2025 18:31:05 +0000 (14:31 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 20 Mar 2025 19:31:55 +0000 (15:31 -0400)
A regression was inadvertently introduced in commit
bcd7883d7212c96ebfb89c938c79fc7efbb80d2f that then prevented
`radosgw-admin bucket radoslist ...` from working properly with
buckets using SLO manifests. This corrects that regression.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 9d1ac190ffbeacfc6a243b4289ca2d70683c461c)

src/rgw/rgw_orphan.cc

index a8b4f5296dd727d21a1828e93ad6a79ef421219f..c0c4e75aa934d0662978499593b9ee0cd6600bc8 100644 (file)
@@ -988,7 +988,7 @@ int RGWRadosList::handle_stat_result(const DoutPrefixProvider *dpp,
     ldpp_dout(dpp, 25) << "radoslist DLO oid=\"" << oid <<
       "\" added bucket=\"" << bucket_name << "\" prefix=\"" <<
       prefix << "\" to process list" << dendl;
-  } else if ((attr_it = result.attrs.find(RGW_ATTR_USER_MANIFEST)) !=
+  } else if ((attr_it = result.attrs.find(RGW_ATTR_SLO_MANIFEST)) !=
             result.attrs.end()) {
     // *** handle SLO object ***