From 2c03e02a04c217b8461b858fd3b46b73c4a370d1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 2 May 2016 14:27:16 -0400 Subject: [PATCH] osd: set pg history last_clean_scrub_stamp on create We were setting the other two; set this one as well. Signed-off-by: Sage Weil (cherry picked from commit 47f540d5b7ecc4ae193057df429db24ca6b3de8d) --- src/osd/OSD.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index d7134cf2f389a..b85083b724fc3 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -7521,6 +7521,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) -- 2.39.5