]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: disable clone overlap for push/pull
authorSage Weil <sage@newdream.net>
Mon, 30 Jan 2012 22:27:24 +0000 (14:27 -0800)
committerSage Weil <sage@newdream.net>
Mon, 30 Jan 2012 22:27:24 +0000 (14:27 -0800)
commit2116f012eddfe3278fcdfeb5a2ddc877491d210d
tree72f47235f635b2002f36786b48b34f41f97f252d
parent9d246a4362867ea3e5596baa661f268fa4bc4217
osd: disable clone overlap for push/pull

There is a bug in the push/pull code.  Disable the recovery smarts by
default until we fix #2002.

There is currently a race (in the callers) where:
 - an adjacent clone is missing
 - we (calculate some clone overlap? and) start pulling
 - we get adjacent clone
 - we get push, calc a different overlap, and then get confused.

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