]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: subset_last_update must be at least log.tail
authorSamuel Just <sam.just@inktank.com>
Mon, 13 May 2013 21:23:00 +0000 (14:23 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 13 May 2013 22:55:34 +0000 (15:55 -0700)
Fixes: 5020
Backport: bobtail, cuttlefish
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
src/osd/PG.cc

index 9a074a1ae0531a55c6b9acbacb6582998b47c88e..049aa548476ab1a00ec5d2681c870073ba98e3cf 100644 (file)
@@ -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<pg_log_entry_t>::iterator p = log.log.begin();
              p != log.log.end();
              ++p) {