summaryrefslogtreecommitdiff
path: root/pyeclib
diff options
context:
space:
mode:
authorKota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>2016-11-04 02:08:37 -0700
committerKota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>2016-11-10 05:34:19 -0800
commitea46179001c0375a523b6b2e388a14012f6cb45c (patch)
tree492787d1d4229befcbce854dea6ac00782646e4f /pyeclib
parentab26abf78c5be0dc72dc4a6c91a13536cd049223 (diff)
downloadpyeclib-ea46179001c0375a523b6b2e388a14012f6cb45c.tar.gz
Add greedy test for decode/reconstruct result solid
Once using erasure code scheme in storage system, we have to trust the backend's result consistency from decode/reconstruct. Otherwise, the storage system can be broken easily. To trust the result, this patch adds greedy combination testing for decode/reconstruct for read-solomn based backends. Testing: - decode result from any k fragments must be consistent with original data - The Nth fragment reconstructed from other k fragments must be consistent with the encoded Nth fragment With this patch, we can confirm the consistency, at least, the testing spec defined at get_pyeclib_testspec() method, and if you want to test either other parameters or backends, you can add the spec you want to test. Change-Id: Ieb46f4ab5c8f6cb60f35c632728cbcf4a1727c53
Diffstat (limited to 'pyeclib')
0 files changed, 0 insertions, 0 deletions