crimson/osd: ClientRequest::do_recover_missing doesn't depend on OSD anymore.

This commit enables the unification of missing objects between
`ClientRequest` and `InternalClientRequest`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2021-05-12 13:38:32 +00:00
parent bf6404e2b1
commit 805c703fd3

View File

@ -215,8 +215,8 @@ ClientRequest::do_recover_missing(Ref<PG>& pg, const hobject_t& soid)
return pg->get_recovery_backend()->get_recovering(soid).wait_for_recovered();
} else {
auto [op, fut] =
osd.get_shard_services().start_operation<UrgentRecovery>(
soid, ver, pg, osd.get_shard_services(), pg->get_osdmap_epoch());
pg->get_shard_services().start_operation<UrgentRecovery>(
soid, ver, pg, pg->get_shard_services(), pg->get_osdmap_epoch());
return std::move(fut);
}
}