From 05b88f644ef3aaffb7a08af0559d8f17f1f44644 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 17 Sep 2019 22:25:46 +0800 Subject: [PATCH] crimson/osd/OpsExecuter: pass nspace in msg to do_pg_op() as pg ops should not require the object info, as there is chance that the object specified in pg ops does not exist at all. Signed-off-by: Kefu Chai --- src/crimson/osd/ops_executer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/osd/ops_executer.h b/src/crimson/osd/ops_executer.h index fbd376a738f..81b8d718da5 100644 --- a/src/crimson/osd/ops_executer.h +++ b/src/crimson/osd/ops_executer.h @@ -89,7 +89,7 @@ class OpsExecuter { template auto do_pg_op(Func&& f) { return std::forward(f)(std::as_const(pg), - std::as_const(os->oi.soid.get_namespace())); + std::as_const(msg->get_hobj().nspace)); } seastar::future<> dont_do_legacy_op() { -- 2.39.5