It's too late to catch this fatal error.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
dout(10) << " don't have pg " << m->pgid << dendl;
} else {
PG *pg = _lookup_lock_pg(m->pgid);
+ assert(pg);
if (m->epoch < pg->info.history.same_interval_since) {
dout(10) << *pg << " got old trim to " << m->trim_to << ", ignoring" << dendl;
pg->unlock();
return;
}
- assert(pg);
if (pg->is_primary()) {
// peer is informing us of their last_complete_ondisk