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:
Gregory Farnum 2014-01-28 13:14:59 -08:00
commit 152c2c4182

View File

@ -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;