Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
liewegas committed Jan 18, 2018
1 parent bf7fc60 commit 7cc290b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/osd/PG.cc
Expand Up @@ -5881,6 +5881,8 @@ void PG::do_peering_event(PGPeeringEventRef evt, RecoveryCtx *rctx)
} else {
recovery_state.handle_event(evt, rctx);
}
// write_if_dirty regardless of path above to ensure we capture any work
// done by OSD::advance_pg().
write_if_dirty(*rctx->transaction);
}

Expand Down

0 comments on commit 7cc290b

Please sign in to comment.