Skip to content

Commit bed40e6

Browse files
committed
crimson/osd/osd_operations/client_requests: add the actual unfound oid
into PGRecovery::unfound, instead of heads Signed-off-by: Xuehan Xu <[email protected]>
1 parent 36924ef commit bed40e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crimson/osd/osd_operations/client_request.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ ClientRequest::recover_missing_snaps(
308308
if (oid) {
309309
auto unfound = co_await do_recover_missing(pg, *oid, m->get_reqid());
310310
if (unfound) {
311-
DEBUGDPP("{} unfound, hang it for now", *pg, m->get_hobj().get_head());
311+
DEBUGDPP("{} unfound, hang it for now", *pg, *oid);
312312
co_await interruptor::make_interruptible(
313-
pg->get_recovery_backend()->add_unfound(m->get_hobj().get_head()));
313+
pg->get_recovery_backend()->add_unfound(*oid));
314314
}
315315
}
316316
}

0 commit comments

Comments
 (0)