]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure code: fix shec's recovery issues found in teuthology test
authorTakanori Nakao <nakao.takanori@jp.fujitsu.com>
Mon, 15 Jun 2015 07:41:19 +0000 (16:41 +0900)
committerTakeshi Miyamae <miyamae.takeshi@jp.fujitsu.com>
Wed, 8 Jul 2015 13:04:15 +0000 (22:04 +0900)
commit9bdf3e6c289dab34dfd78d717eea051f40cc78f8
tree4e4f1b15dc98a3f3b9b46268ca79e96c6fd14617
parent11238881c441ea8ce1b812b0446739bef15ac695
erasure code: fix shec's recovery issues found in teuthology test

Fixed shec's recovery issues caused by unexpected arguments in
minimum_to_decode() / decode() functions.
We misunderstood as follows.

 (1) want_to_read and available_chunks do not share osds.
 (2) osds that are not included in want_to_read are always included
     in available_chunks.

Signed-off-by: Takanori Nakao <nakao.takanori@jp.fujitsu.com>
src/erasure-code/shec/ErasureCodeShec.cc
src/erasure-code/shec/ErasureCodeShec.h