Skip to content

Comments

remove reliance on x-rgw-object-count and x-rgw-bytes-used headers#517

Merged
soumyakoduri merged 1 commit intoceph:masterfrom
cbodley:wip-rm-rgw-stat-bucket-headers
Jul 3, 2023
Merged

remove reliance on x-rgw-object-count and x-rgw-bytes-used headers#517
soumyakoduri merged 1 commit intoceph:masterfrom
cbodley:wip-rm-rgw-stat-bucket-headers

Conversation

@cbodley
Copy link
Contributor

@cbodley cbodley commented Jun 21, 2023

stop using head_bucket() to fetch these response headers, and use list_objects_v2() instead to count objects and sizes. this allows us to remove several fails_on_aws and fails_on_dbstore markers

Fixes: #315

@alimaredia
Copy link
Contributor

@cbodley this looks good to me. Can I merge this and then run the master branch on the dbstore and verify (with limit 1) rgw suites?

@cbodley
Copy link
Contributor Author

cbodley commented Jun 21, 2023

@alimaredia tests are queued in https://pulpito.ceph.com/cbodley-2023-06-21_18:30:33-rgw-main-distro-default-smithi/, let's wait on that

stop using head_bucket() to fetch these response headers, and use
list_objects_v2() instead to count objects and sizes

Fixes: ceph#315

Signed-off-by: Casey Bodley <[email protected]>
@cbodley cbodley force-pushed the wip-rm-rgw-stat-bucket-headers branch from 41daf29 to 188b392 Compare June 22, 2023 12:42
@cbodley
Copy link
Contributor Author

cbodley commented Jun 22, 2023

some of these test cases failed in the rgw/dbstore suite, so i had to restore some of the fails_on_dbstore tags; those failures weren't only due to the x-rgw- headers

@alimaredia
Copy link
Contributor

got it, when you post a clean run I'll go ahead and merge the PR

@soumyakoduri soumyakoduri merged commit c252440 into ceph:master Jul 3, 2023
@soumyakoduri
Copy link
Contributor

cherry-picked to ceph-master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ceph Tests make specific assumptions about RGW custom headers

3 participants