We only want to restart peering due to prior_set changes if it hasn't completed
yet.
pg->lock();
// no change?
- if (tacting == pg->acting && !pg->prior_set_affected(osdmap)) {
- dout(15) << *pg << " unchanged with " << tacting << dendl;
+ if (tacting == pg->acting && (pg->is_active() || !pg->prior_set_affected(osdmap))) {
+ dout(15) << *pg << " unchanged|active with " << tacting << dendl;
pg->unlock();
continue;
}