Project

General

Profile

Bug #2856

osd: bound size of transactions trimming old osdmaps

Added by Sage Weil over 11 years ago. Updated over 11 years ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The monitor can arbitrarily advance it's oldest map. The osd should avoid sending down an arbitrarily large transaction deleting them.

Associated revisions

Revision 35753eb7 (diff)
Added by Sage Weil over 11 years ago

osd: avoid generate huge osdmap deletion transactions

Cap the number of maps we delete on each pass through handle_osd_map. As
long as the target transaction size is larger than the number of maps we
get in each message, we'll be fine. Ensure we at least keep pace with
incoming maps in case those values' relative sizes nave flipped.

Fixes: #2856
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF