]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add RestoreStatus support to object listings 67547/head
authorMatthew N. Heler <matthew.heler@hotmail.com>
Thu, 26 Feb 2026 01:03:56 +0000 (19:03 -0600)
committerMatthew N. Heler <matthew.heler@hotmail.com>
Tue, 28 Apr 2026 20:33:11 +0000 (15:33 -0500)
commit8d21ac4b8da5817d2bb43bc9915fff3fdc47ab3f
tree048fc2be2b545dbcd69e48a0223e30f4bb00cb3d
parent5007efad275c40c97654afaafb22818fd9b84a00
rgw: add RestoreStatus support to object listings

S3 clients can request restore status in listing responses through the
x-amz-optional-object-attributes header, but we had no support for it.
This stores the restore state in the bucket index so listings can
include <RestoreStatus> without having to read each object's attrs
individually.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
PendingReleaseNotes
src/cls/rgw/cls_rgw_types.cc
src/cls/rgw/cls_rgw_types.h
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_rados.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h