]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: copy the RecoveryCtx::handle when creating a new RecoveryCtx instance from anoth... 5762/head
authorGuang G Yang <yguang@renownedground.corp.gq1.yahoo.com>
Wed, 29 Jul 2015 21:47:17 +0000 (21:47 +0000)
committerLoic Dachary <ldachary@redhat.com>
Wed, 2 Sep 2015 07:35:17 +0000 (09:35 +0200)
Fixes: 12523
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
(cherry picked from commit 6ab9efe799b947f2ef6113df8cc542c73760107d)

src/osd/PG.h

index f69d431123b1b57f65d80a71811127fd9242208c..e8c7c718628255a3fc2b3f6b2121bab9cdbdcb94 100644 (file)
@@ -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);