]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
RadosGW API: incorrect bucket quota in response to HEAD /{bucket}/?usage 53391/head
authorshreyanshjain7174 <ssanchet@redhat.com>
Mon, 11 Sep 2023 10:40:33 +0000 (06:40 -0400)
committershreyanshjain7174 <ssanchet@redhat.com>
Mon, 11 Sep 2023 15:06:19 +0000 (11:06 -0400)
commit78cd82b6e9f36a91f47d44ad2cfae89add335d4c
tree3e9256e707b5915cc838d353368390cd6985d4f1
parentdfa63ee54907ed7cada06fecd1e01c111cd90666
RadosGW API: incorrect bucket quota in response to HEAD /{bucket}/?usage

When we try to get the bucket usage via various methods, through curl or while accessing rgw api endpoint at HEAD /{bucket}/?usage doesn't return the updated information. The endpoint was always returning the user quota and not the actual bucket quota which we see after querying the endpoint.

Fixes: https://tracker.ceph.com/issues/62737
Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
src/rgw/rgw_rest_s3.cc