]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: set pg history last_clean_scrub_stamp on create
authorSage Weil <sage@redhat.com>
Mon, 2 May 2016 18:27:16 +0000 (14:27 -0400)
committerLoic Dachary <ldachary@redhat.com>
Wed, 29 Jun 2016 08:47:20 +0000 (10:47 +0200)
We were setting the other two; set this one as well.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 47f540d5b7ecc4ae193057df429db24ca6b3de8d)

src/osd/OSD.cc

index d7134cf2f389a11b11d5362eb6b11afcab76a6fc..b85083b724fc32de515ac44c9761be9be2c89c0b 100644 (file)
@@ -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)