From: Guang G Yang Date: Wed, 29 Jul 2015 21:47:17 +0000 (+0000) Subject: osd: copy the RecoveryCtx::handle when creating a new RecoveryCtx instance from anoth... X-Git-Tag: v0.94.4~35^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5762%2Fhead;p=ceph.git 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) --- 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);