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 almost 5 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

Also available in: Atom PDF