mirror of
https://github.com/ceph/ceph
synced 2025-01-10 05:00:59 +00:00
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:
parent
bf6404e2b1
commit
805c703fd3
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user