Project

General

Profile

Actions

Bug #21041

open

Stale bucket names in user bucket list.

Added by Robin Johnson over 6 years ago. Updated over 6 years ago.

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

0%

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

Description

The list of buckets for some users ends up with buckets that no longer exist sometimes.

There needs to be something to clean up the bucket listing for each user of these buckets.

Rough plan:
  1. For each user
    • The bucket names are the keys of the OMAP xattr for RADOS object {{${username}.buckets}}
      1. Get bucket list for the user
      2. Check if a bucket by that name exists
      3. Remove from OMAP if does not exist.
Actions

Also available in: Atom PDF