We should never create a PG* for an uncreated pg except through the mkpg
path.
// create pg!
assert(role != 0);
+ assert(!info.dne());
pg = _create_lock_pg(info.pgid, t);
dout(10) << " got info on new pg, creating" << dendl;
pg->acting.swap(acting);
}
assert(role > 0);
+ if (!history.epoch_created) {
+ dout(10) << " pg " << pgid << " not created, replying with empty info" << dendl;
+ PG::Info empty(pgid);
+ notify_list[from].push_back(empty);
+ continue;
+ }
+
ObjectStore::Transaction t;
pg = _create_lock_pg(pgid, t);
pg->acting.swap( acting );