Project

General

Profile

Actions

Bug #46456

closed

OLH entries pending removal get mistakenly resharded to shard 0

Added by Casey Bodley almost 4 years ago. Updated over 3 years ago.

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

0%

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

Description

When rgw_bucket_unlink_instance removes the last instance of a name, it also clears the value of rgw_bucket_olh_entry.key. However, bucket index resharding uses this key when choosing its shard placement, so an empty key causes all of these olh entries to be misplaced in shard 0. After reshard, all of the olh recovery/cleanup logic would be sent to the correct shard, and these misplaced olh entries would never be cleaned up.


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #46949: octopus: OLH entries pending removal get mistakenly resharded to shard 0ResolvedNathan CutlerActions
Copied to rgw - Backport #46950: nautilus: OLH entries pending removal get mistakenly resharded to shard 0ResolvedNathan CutlerActions
Actions #1

Updated by Casey Bodley almost 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 36015
Actions #2

Updated by J. Eric Ivancich over 3 years ago

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

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #46949: octopus: OLH entries pending removal get mistakenly resharded to shard 0 added
Actions #4

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #46950: nautilus: OLH entries pending removal get mistakenly resharded to shard 0 added
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF