]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: dirty_info on handle_activate_map
authorSamuel Just <sam.just@inktank.com>
Thu, 7 Feb 2013 18:38:00 +0000 (10:38 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 7 Feb 2013 18:44:46 +0000 (10:44 -0800)
We need to make sure the pg epoch is persisted during
activate_map.

Backport: bobtail
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc

index 6526633b7d78fac15b1c3191869f186c8b95df90..666f0946d5a246470975cc9b2946f4fa6abd7afc 100644 (file)
@@ -5002,6 +5002,7 @@ void PG::handle_activate_map(RecoveryCtx *rctx)
   dout(10) << "handle_activate_map " << dendl;
   ActMap evt;
   recovery_state.handle_event(evt, rctx);
+  dirty_info = true;
 }
 
 void PG::handle_loaded(RecoveryCtx *rctx)