Skip to content

Commit ed4441e

Browse files
committed
crimson/osd/osd_operations/client_request: rely on the checks in
PG::do_recover_missing() to determine whether to recover clone objects PeeringState::is_missing_any_head_or_clone_of() only checks whether the head/clone object is missing on the primary. Fixes: https://tracker.ceph.com/issues/72763 Signed-off-by: Xuehan Xu <[email protected]>
1 parent 023bcc3 commit ed4441e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/crimson/osd/osd_operations/client_request.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ ClientRequest::process_op(
361361
}
362362

363363
std::set<snapid_t> snaps = snaps_need_to_recover();
364-
if (!snaps.empty() &&
365-
pg->is_missing_head_and_clones(m->get_hobj().get_head())) {
364+
if (!snaps.empty()) {
366365
co_await recover_missing_snaps(pg, snaps);
367366
}
368367
}

0 commit comments

Comments
 (0)