From 0d8970fc813b33e7c6ba2484fbc43cce947d3f4d Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Mon, 18 Jun 2012 09:26:12 -0700 Subject: [PATCH] PG: reg_last_pg_scrub on pg resurrection This may solve the unreg_last_pg_scrub assert. see #2453. Signed-off-by: Samuel Just --- src/osd/PG.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 2e6013edf7182..1b97618ee3c71 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3621,6 +3621,7 @@ void PG::start_peering_interval(const OSDMapRef lastmap, dout(10) << *this << " canceling deletion!" << dendl; deleting = false; osd->remove_wq.dequeue(this); + osd->reg_last_pg_scrub(info.pgid, info.history.last_scrub_stamp); } if (role != oldrole) { -- 2.39.5