From: Samuel Just Date: Thu, 20 Feb 2014 02:22:34 +0000 (-0800) Subject: PG: fix scrub feature check X-Git-Tag: v0.78~148^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=68184d4574cd507ab3a065693e392917b98e16ec;p=ceph.git PG: fix scrub feature check acting[0] isn't necessarily the primary. Start at 0 and explicitely skip the primary. Signed-off-by: Samuel Just --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 5812b8bbb7bf7..0941d27483435 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3592,7 +3592,9 @@ void PG::scrub(ThreadPool::TPHandle &handle) OSDMapRef curmap = osd->get_osdmap(); scrubber.is_chunky = true; assert(backfill_targets.empty()); - for (unsigned i=1; iget_con_osd_cluster(acting[i], get_osdmap()->get_epoch());