Project

General

Profile

Bug #52813

octopus:"ragodgw-admin bucket limit check" has duplicate entries if bucket count exceeds 1000

Added by nikhil kshirsagar about 1 year ago. Updated about 1 year ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:

Description

The ragodgw-admin bucket limit check command has a bug in octopus.

Since we do not clear the bucket list in RGWRadosUser::list_buckets() before asking for the next "max_entries", they are appended to the existing list and we end up counting the first ones again. This causes duplicated entries in the output of "ragodgw-admin bucket limit check"

This bug is triggered if bucket count exceeds 1000 (default max_entries).

octopus_rgw_limit_check_issue_reproducer_and_fix - reproducer and testing of fix (4.36 KB) nikhil kshirsagar, 10/05/2021 05:24 AM

History

#1 Updated by Ponnuvel P about 1 year ago

  • Status changed from New to In Progress
  • Affected Versions v15.2.1, v15.2.10, v15.2.11, v15.2.12, v15.2.13, v15.2.14, v15.2.15, v15.2.2, v15.2.3, v15.2.4, v15.2.5, v15.2.6, v15.2.7, v15.2.8, v15.2.9 added

#2 Updated by Casey Bodley about 1 year ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Nathan Cutler about 1 year ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF