Project

General

Profile

Bug #38075

multisite: datalog trim may not trim to completion

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

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/29/2019
Due date:
% Done:

0%

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

Description

radosgw's datalog trim logic remembers the to_marker of its call to cls_log_trim(), and avoids calling it again until the marker advances past that. however, cls_log_trim() has a hardcoded limit of 1000 entries per call, and is not guaranteed to trim all the way to this to_marker. as a result, radosgw may stop trying to trim even though many entries may still remain


Related issues

Copied to rgw - Backport #38446: luminous: multisite: datalog trim may not trim to completion Resolved
Copied to rgw - Backport #38447: mimic: multisite: datalog trim may not trim to completion Resolved

History

#1 Updated by Casey Bodley 10 months ago

  • Status changed from In Progress to Need Review

#2 Updated by Casey Bodley 9 months ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #38446: luminous: multisite: datalog trim may not trim to completion added

#4 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #38447: mimic: multisite: datalog trim may not trim to completion added

#5 Updated by Nathan Cutler 7 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF