From 2348a5b5c96d065fbc2188bd9e8e7ff20c75ecaa Mon Sep 17 00:00:00 2001 From: Guang G Yang Date: Wed, 29 Jul 2015 21:47:17 +0000 Subject: [PATCH] osd: copy the RecoveryCtx::handle when creating a new RecoveryCtx instance from another one Fixes: 12523 Signed-off-by: Guang Yang (cherry picked from commit 6ab9efe799b947f2ef6113df8cc542c73760107d) --- src/osd/PG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/PG.h b/src/osd/PG.h index f69d431123b1b..e8c7c71862825 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -549,7 +549,7 @@ public: on_applied(rctx.on_applied), on_safe(rctx.on_safe), transaction(rctx.transaction), - handle(NULL) {} + handle(rctx.handle) {} void accept_buffered_messages(BufferedRecoveryMessages &m) { assert(query_map); -- 2.47.3