]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: include lc shard oid in "lc shard list"
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 18 Feb 2022 17:23:30 +0000 (12:23 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 17 Mar 2022 15:07:55 +0000 (11:07 -0400)
commitbc0127ee1299393068517dbe528eb864ba01d379
treea7a580d36c055bf7e9027c1c54a94dd9096afd39
parentd83540235e315be4c12ced8cbccd79f81e10b7bd
rgwlc:  include lc shard oid in "lc shard list"

E.g.,
[
    {
        "bucket": ":bucket1:f2f4a8dd-7ec9-4758-bc4f-c8f5fbc85109.4137.2",
        "shard": "lc.6",
        "started": "Fri, 18 Feb 2022 17:30:16 GMT",
        "status": "COMPLETE"
    },
...
]

The prototyped approach adds a copy of the shard name (which is
assured to be a small string) to rgw::sal::LCEntry.  It's not
expected to be represented in underlying store types.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_sal.h
src/rgw/rgw_sal_rados.cc