]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: continue recovery after encountering missing objects
authorSage Weil <sage.weil@dreamhost.com>
Tue, 1 Mar 2011 22:25:59 +0000 (14:25 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 1 Mar 2011 22:25:59 +0000 (14:25 -0800)
commit5997059a604d05ced8566a511c27608e810b81f4
tree5fec304c34181bdc4d331552e0a26fd144b01d21
parent19bcd747b452b79c80744620e635f036bfc1b738
osd: continue recovery after encountering missing objects

1- If we try to pull an object that isn't there, send an empty push in
reply.

2- If we get an empty push, call a new failed_push helper.  Also called
when we pull partial/bad data.

3- Fix the fail behavior to close out our attempt, adjust our missing_loc,
but let the calling recovery code handle the retry.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h