Project

General

Profile

Actions

Bug #52813

closed

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

Added by nikhil kshirsagar over 2 years ago. Updated over 2 years 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).


Files

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

Updated by Ponnuvel P over 2 years 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
Actions #2

Updated by Casey Bodley over 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Nathan Cutler over 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF