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 almost 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 #1

Updated by Vikhyat Umrao almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Vikhyat Umrao
  • Backport set to nautilus, octopus
Actions #2

Updated by Vikhyat Umrao almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 34877
Actions #3

Updated by Casey Bodley almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Neha Ojha almost 4 years ago

  • Project changed from RADOS to rgw
Actions #5

Updated by Nathan Cutler almost 4 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
Actions #6

Updated by Nathan Cutler almost 4 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
Actions #7

Updated by Vikhyat Umrao almost 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF