]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: wait for pushes and last_update_applied before requesting replica scrub
authorSage Weil <sage@redhat.com>
Sat, 17 Mar 2018 19:50:27 +0000 (14:50 -0500)
committerSage Weil <sage@redhat.com>
Sun, 18 Mar 2018 10:33:11 +0000 (05:33 -0500)
commit46a3c3c0eb1024c107c11cdb7f025aede9c9b079
treef359f75354a2e3895f0b7f20f37f6f4ac41d7b89
parent13b9df16d04c81ba67bbc80b14e0de80b318b0f8
osd/PG: wait for pushes and last_update_applied before requesting replica scrub

Wait on the primary for the EC backend to finish r/m/w cycles before we
ask the replicas to scrub.  Otherwise we will wait on the primary but the
replicas will scrub immediately and we'll get a mismatched result!

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc