Project

General

Profile

Bug #39118

rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove

Added by Casey Bodley 11 months ago. Updated 7 months ago.

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

0%

Source:
Tags:
versioning
Backport:
luminous mimic nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

RGWRados::remove_olh_pending_entries() tries to remove all stale pending entries, but if there are too many entries to send in a single osd op, the osd rejects the request with EINVAL. This error happens in follow_olh(), which means that requests against the object logical head (requests with no version id) can't be resolved to the current object version. In multisite, this also causes data sync to get stuck in retries.


Related issues

Related to rgw - Bug #37792: multisite: overwrites in versioning-suspended buckets fail to sync Resolved 01/04/2019
Copied to rgw - Backport #39177: luminous: rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove Resolved
Copied to rgw - Backport #39178: nautilus: rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove Resolved
Copied to rgw - Backport #39179: mimic: rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove Resolved

History

#1 Updated by Casey Bodley 11 months ago

  • Assignee set to Casey Bodley

#2 Updated by Casey Bodley 11 months ago

  • Related to Bug #37792: multisite: overwrites in versioning-suspended buckets fail to sync added

#3 Updated by Casey Bodley 11 months ago

The bug in https://tracker.ceph.com/issues/37792 is one way to produce massive amounts of pending olh entries.

#4 Updated by Casey Bodley 11 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 27400

#5 Updated by Casey Bodley 11 months ago

  • Status changed from Fix Under Review to 7

#6 Updated by Casey Bodley 11 months ago

  • Status changed from 7 to Pending Backport

#7 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #39177: luminous: rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove added

#8 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #39178: nautilus: rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove added

#9 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #39179: mimic: rgw: remove_olh_pending_entries() does not limit the number of xattrs to remove added

#10 Updated by Nathan Cutler 7 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF