]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/storage class: don't store/report STANDARD storage class.
authorMarcus Watts <mwatts@redhat.com>
Wed, 28 Aug 2024 15:42:05 +0000 (11:42 -0400)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
commit30830dce87ae061c76b5dda079947ff0c5d962af
tree7e84785ed537b660b58f5f6f2c9fbf3643248969
parent181f0c52e0c311ccd5a540b9bcece54730b084dd
rgw/storage class: don't store/report STANDARD storage class.

While 'STANDARD' is a valid storage class, it is not supposed
to ever be returned when fetching an object.  This change suppresses
storing 'STANDARD' as the attribute value, so that objects
explicitly created with 'STANDARD' will in fact be indistinguishable
from those where it was implicitly set.

Fixes: https://tracker.ceph.com/issues/67786
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit b95e743ab9374cd3463a29c5f719ffce1c9fb28a)

Resolves: rhbz#2300284
src/rgw/driver/rados/rgw_rados.cc