]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: remove special handline for head recovery from clone
authorSage Weil <sage@newdream.net>
Fri, 16 Mar 2012 21:36:38 +0000 (14:36 -0700)
committerSage Weil <sage@newdream.net>
Fri, 16 Mar 2012 21:36:38 +0000 (14:36 -0700)
commit63ec06b349c6f66d6bf95af8a7bb6c08165f567f
tree1b2c00b6a3b12def18c14c95410fba2daf7ba4bf
parent15d85af4ce23695fce03505853e435bdb57b5e18
osd: remove special handline for head recovery from clone

This breaks because:

 - we don't have the head or current snapset
 - get_object_context() creates a new snapset, which is wrong

We probably can only do this if we are certain we can construct/modify
the old snapset and end up with the correct one.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc