]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: allow disabling bucket stats on head bucket
authorSeena Fallah <seenafallah@gmail.com>
Mon, 8 Apr 2024 13:06:14 +0000 (15:06 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Fri, 13 Dec 2024 14:29:09 +0000 (15:29 +0100)
commit854bb63ee3128e32c9fe2b3a54a5ac6781c7dafd
treeabe342b067b44acc25ed7fa8c98b320ecae4ab12
parent41ebce378f1d906b4c796753a7386dacd30fbcfa
rgw: allow disabling bucket stats on head bucket

The HeadBucket API now reports the `X-RGW-Bytes-Used` and
`X-RGW-Object-Count` headers only when the `read-stats` querystring
is explicitly included in the API request.

Fixes: https://tracker.ceph.com/issues/65369
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
PendingReleaseNotes
src/rgw/rgw_file_int.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_rest_swift.h