Project

General

Profile

Actions

Bug #22467

closed

osd boot has stuck for 10min because of clear_temp_object

Added by zhongshuai huang over 6 years ago. Updated over 6 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

rebooting a host,osd will run to the function of osd::init => clear_temp_objects => collection_list => _collection_list => ( it = db->get_iterator(PREFIX_PBJ) ; it->lower_bound(temp_start_key) ) for each pg,the time of it->lower_bound(temp_start_key) is about 7s,if each osd has 100pgs,this cost of clear_temp_object will be 10min


Files

新建文本文档.txt (12.7 KB) 新建文本文档.txt zhongshuai huang, 12/18/2017 03:43 AM
Actions

Also available in: Atom PDF