Bug #45355
rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loop
% Done:
0%
Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
In this PR https://github.com/ceph/ceph/pull/30024, we are using the function `rgw_bucket_parse_bucket_key` to parse the bucket.instance to extract the tenant, bucket name and bucket id and when this function is called in a loop as in this PR it is holding the old tenant value from the tenanted bucket and not clearing it which is causing non-tenanted bucket listing to fail.
Related issues
History
#1 Updated by Vikhyat Umrao over 3 years ago
- Status changed from New to In Progress
- Assignee set to Vikhyat Umrao
- Backport set to nautilus, octopus
#2 Updated by Vikhyat Umrao over 3 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 34877
#3 Updated by Casey Bodley over 3 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Neha Ojha over 3 years ago
- Project changed from RADOS to rgw
#5 Updated by Nathan Cutler over 3 years ago
- Copied to Backport #45360: octopus: rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loop added
#6 Updated by Nathan Cutler over 3 years ago
- Copied to Backport #45361: nautilus: rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loop added
#7 Updated by Vikhyat Umrao over 3 years ago
- Status changed from Pending Backport to Resolved