From: Samuel Just Date: Mon, 13 May 2013 21:23:00 +0000 (-0700) Subject: PG: subset_last_update must be at least log.tail X-Git-Tag: v0.62~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=72bf5f4813c273210b5ced7f7793bc1bf813690c;p=ceph.git PG: subset_last_update must be at least log.tail Fixes: 5020 Backport: bobtail, cuttlefish Signed-off-by: Samuel Just Reviewed-by: David Zafman --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9a074a1ae053..049aa548476a 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -4156,7 +4156,7 @@ void PG::chunky_scrub() { scrubber.block_writes = true; // walk the log to find the latest update that affects our chunk - scrubber.subset_last_update = eversion_t(); + scrubber.subset_last_update = log.tail; for (list::iterator p = log.log.begin(); p != log.log.end(); ++p) {