Skip to content

Commit

Permalink
osd: set pg history last_clean_scrub_stamp on create
Browse files Browse the repository at this point in the history
We were setting the other two; set this one as well.

Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed May 2, 2016
1 parent ba32675 commit 47f540d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osd/OSD.cc
Expand Up @@ -7495,6 +7495,7 @@ void OSD::handle_pg_create(OpRequestRef op)
history.epoch_created = created;
history.last_scrub_stamp = ci->second;
history.last_deep_scrub_stamp = ci->second;
history.last_clean_scrub_stamp = ci->second;

// project history from created epoch (handle_pg_peering_evt does
// it from msg send epoch)
Expand Down

0 comments on commit 47f540d

Please sign in to comment.