unfound objects when starting primary recoveries
Fixes: https://tracker.ceph.com/issues/66885
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit
acb66c1665937923ebb4b45b3e58364b26a51621)
if (pg->get_peering_state().get_missing_loc().is_unfound(soid)) {
logger().debug("{}: object {} unfound", __func__, soid);
++skipped;
+ ++p;
continue;
}
if (pg->get_peering_state().get_missing_loc().is_unfound(head)) {
logger().debug("{}: head object {} unfound", __func__, soid);
++skipped;
+ ++p;
continue;
}