Project

General

Profile

Actions

Bug #39118

closed

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

Added by Casey Bodley about 5 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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 4 (0 open4 closed)

Related to rgw - Bug #37792: multisite: overwrites in versioning-suspended buckets fail to syncResolvedCasey Bodley01/04/2019

Actions
Copied to rgw - Backport #39177: luminous: rgw: remove_olh_pending_entries() does not limit the number of xattrs to removeResolvedNathan CutlerActions
Copied to rgw - Backport #39178: nautilus: rgw: remove_olh_pending_entries() does not limit the number of xattrs to removeResolvedPrashant DActions
Copied to rgw - Backport #39179: mimic: rgw: remove_olh_pending_entries() does not limit the number of xattrs to removeResolvedNathan CutlerActions
Actions #1

Updated by Casey Bodley about 5 years ago

  • Assignee set to Casey Bodley
Actions #2

Updated by Casey Bodley about 5 years ago

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

Updated by Casey Bodley about 5 years ago

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

Actions #4

Updated by Casey Bodley about 5 years ago

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

Updated by Casey Bodley about 5 years ago

  • Status changed from Fix Under Review to 7
Actions #6

Updated by Casey Bodley about 5 years ago

  • Status changed from 7 to Pending Backport
Actions #7

Updated by Nathan Cutler about 5 years ago

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

Updated by Nathan Cutler about 5 years ago

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

Updated by Nathan Cutler about 5 years ago

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

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF