Actions
Bug #10427
closedGenerating past intervals can crash OSD because of a missing OSDMap
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.
Updated by David Zafman over 9 years ago
- Status changed from 7 to Fix Under Review
Updated by David Zafman over 9 years ago
- Status changed from Fix Under Review to Resolved
Actions