mirror of
https://github.com/ceph/ceph
synced 2025-01-10 13:10:46 +00:00
Merge PR #27288 into master
* refs/pull/27288/head: osd/PG: discover missing objects when an OSD peers and PG is degraded Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn> Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
commit
191ab33faf
@ -8558,7 +8558,7 @@ boost::statechart::result PG::RecoveryState::Active::react(const MNotifyRec& not
|
||||
<< dendl;
|
||||
pg->proc_replica_info(
|
||||
notevt.from, notevt.notify.info, notevt.notify.epoch_sent);
|
||||
if (pg->have_unfound()) {
|
||||
if (pg->have_unfound() || (pg->is_degraded() && pg->might_have_unfound.count(notevt.from))) {
|
||||
pg->discover_all_missing(*context< RecoveryMachine >().get_query_map());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user