Project

General

Profile

Actions

Bug #10427

closed

Generating past intervals can crash OSD because of a missing OSDMap

Added by David Zafman over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

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

Description

When generate_past_intervals_parallel() is called from load_pgs() the superblock hasn't been published yet. This causes PG::_calc_past_interval_range() to get a 0 for oldest_map when doing osd->get_superblock().oldest_map. This can cause *start to be earlier then the oldest OSDMap that is available especially when handling an pg that was imported with ceph-objectstore-tool. In that case the last_epoch_clean could be earlier then the oldest map available.

Actions #1

Updated by David Zafman over 9 years ago

  • Status changed from 12 to 7
Actions #2

Updated by David Zafman over 9 years ago

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

Updated by David Zafman over 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF