Project

General

Profile

Bug #45355

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

Added by Vikhyat Umrao over 3 years ago. Updated over 3 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

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

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

Also available in: Atom PDF