Skip to content

Commit 8c781c8

Browse files
authored
Merge pull request ceph#65283 from xxhdx1985126/wip-72763
crimson/osd/osd_operations/client_request: rely on the checks in PG::do_recover_missing() to determine whether to recover clone objects Reviewed-by: Matan Breizman <[email protected]>
2 parents b0f2547 + ed4441e commit 8c781c8

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)