mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
osd: drop oldest_last_clean from activate_map
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
67f7ee6799
commit
5fc94e89a9
@ -4142,9 +4142,6 @@ void OSD::activate_map()
|
||||
dout(7) << "activate_map version " << osdmap->get_epoch() << dendl;
|
||||
|
||||
int num_pg_primary = 0, num_pg_replica = 0, num_pg_stray = 0;
|
||||
|
||||
epoch_t oldest_last_clean = osdmap->get_epoch();
|
||||
|
||||
list<PG*> to_remove;
|
||||
|
||||
service.expand_pg_num(service.get_osdmap(),
|
||||
@ -4163,9 +4160,6 @@ void OSD::activate_map()
|
||||
else
|
||||
num_pg_stray++;
|
||||
|
||||
if (pg->is_primary() && pg->info.history.last_epoch_clean < oldest_last_clean)
|
||||
oldest_last_clean = pg->info.history.last_epoch_clean;
|
||||
|
||||
set<pg_t> split_pgs;
|
||||
if (!osdmap->have_pg_pool(pg->info.pgid.pool())) {
|
||||
//pool is deleted!
|
||||
|
Loading…
Reference in New Issue
Block a user