Project

General

Profile

Actions

Bug #45355

closed

rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loop

Added by Vikhyat Umrao about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 2 (0 open2 closed)

Copied to rgw - Backport #45360: octopus: rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loopResolvedVikhyat UmraoActions
Copied to rgw - Backport #45361: nautilus: rgw_bucket_parse_bucket_key function is holding old tenant value, when this function is executed in a loopResolvedVikhyat UmraoActions
Actions

Also available in: Atom PDF