mirror of
https://github.com/ceph/ceph
synced 2025-01-10 05:00:59 +00:00
OSD: do _remove_pg in add_newly_split_pg is pool if gone
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
19e6861daf
commit
3f412e88fa
@ -1378,6 +1378,8 @@ void OSD::add_newly_split_pg(PG *pg, PG::RecoveryCtx *rctx)
|
||||
peering_wait_for_split.erase(to_wake);
|
||||
}
|
||||
wake_pg_waiters(pg->info.pgid);
|
||||
if (!service.get_osdmap()->have_pg_pool(pg->info.pgid.pool()))
|
||||
_remove_pg(pg);
|
||||
}
|
||||
|
||||
PG *OSD::_create_lock_pg(
|
||||
|
Loading…
Reference in New Issue
Block a user