mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge pull request #1155 from ceph/wip-7190
OSD: don't assume we have the pool in handle_pg_create Reviewed-by: Greg Farnum <greg@inktank.com>
This commit is contained in:
commit
152c2c4182
@ -5947,6 +5947,10 @@ void OSD::handle_pg_create(OpRequestRef op)
|
||||
dout(20) << "ignoring localized pg " << pgid << dendl;
|
||||
continue;
|
||||
}
|
||||
if (!osdmap->have_pg_pool(pgid.pool())) {
|
||||
dout(20) << "ignoring pg on deleted pool " << pgid << dendl;
|
||||
continue;
|
||||
}
|
||||
|
||||
dout(20) << "mkpg " << pgid << " e" << created << dendl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user