Project

General

Profile

Actions

Bug #48363

open

rgw: concurrent object delete can leak bucket index instance entries

Added by Yehuda Sadeh over 3 years ago. Updated over 3 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

This happens when there are concurrent operations, where at least one succeeds, whereas at least another one is cancelled. Likely to also affect non-versioned objects, though cancellation might not happen as frequently there.
The bucket index entry will not be removed when the bucket index complete arrives, because of the pending entries. If the last pending entry remaining is cancelled (vs. completed), the entry will not be removed. With versioned objects it will only happen with instance entries that aren't part of the bucket listing. Non-versioned object entries won't show in listing either as they are marked with exists=false.

Actions #1

Updated by Yehuda Sadeh over 3 years ago

  • Assignee set to Yehuda Sadeh
Actions #2

Updated by Matt Benjamin over 3 years ago

Hi Yehuda,

What Ceph versions are affected?

Matt

Actions #3

Updated by joke lee over 3 years ago

Matt Benjamin wrote:

Hi Yehuda,

What Ceph versions are affected?

Matt

we ran into the same problem in N(14.2.8) and L

Actions

Also available in: Atom PDF