summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-02-07 10:38:00 -0800
committerSamuel Just <sam.just@inktank.com>2013-02-07 10:44:46 -0800
commitdbce1d0dc919e221523bd44e1d0834711da1577d (patch)
tree3871ea48b429c879a8f6d55ff34aa17a4ea44d22
parentaf95d934b039d65d3667fc022e2ecaebba107b01 (diff)
downloadceph-dbce1d0dc919e221523bd44e1d0834711da1577d.tar.gz
PG: dirty_info on handle_activate_map
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>
-rw-r--r--src/osd/PG.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index 6526633b7d7..666f0946d5a 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -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)