]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: verify erasure code read / write after remapping 4813/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 30 May 2015 15:03:36 +0000 (17:03 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 8 Jul 2015 14:14:23 +0000 (16:14 +0200)
commit8df81e05ef953fb1afca54dfeb78415a495a9efd
tree6b9dccfd9e58e2076babd298d471931b610d89fe
parent96ec2a744420a83ddd4eafb0041d66aa9be97a36
tests: verify erasure code read / write after remapping

Implement the following scenario:

 * create an erasure coded pool and write an object

 * mark two osd used to store the object out
 * wait until the PG is clean
 * read the object and compare it with the original

 * mark the two osd back in
 * wait until the PG is clean
 * read the object and compare it with the original

The scenario is run with the jerasure plugin only because the code path
involved does not vary depending on the erasure code plugin.

http://tracker.ceph.com/issues/11667 Fixes: #11667

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/erasure-code/test-erasure-code.sh