]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: allow transition from Clean -> WaitLocalRecoveryReserved for repair
authorSage Weil <sage@inktank.com>
Fri, 21 Dec 2012 19:37:48 +0000 (11:37 -0800)
committerSage Weil <sage@inktank.com>
Fri, 21 Dec 2012 19:37:48 +0000 (11:37 -0800)
commitae044e640519393a77e2e3bd81c5cc9edbf1a4cc
tree2ac1361b4e2f0d032d1eaf49a8b5de6254c7e00c
parent670afc6c0c7f2bcfd00658c66ccedd8c967bfe96
osd: allow transition from Clean -> WaitLocalRecoveryReserved for repair

If we do a scrub repair, we need to go from clean to recovery again to
copy objects around.

This fixes a simple repair of a missing object, either on the primary or
replica.

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