]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: retry to read object attrs at EC recovery
authorcuixf <cuixiaofei@sangfor.com.cn>
Thu, 24 May 2018 00:01:25 +0000 (20:01 -0400)
committerningtao63358 <ningtao@sangfor.com>
Fri, 1 Jun 2018 10:26:56 +0000 (06:26 -0400)
commit3eb1679b1fadb6adb6ff4ed3f1f6069a85f4bbcd
treec00241dbe7746dcdb87d54edeee92608a5dc0fcd
parent5325701f88a398fe6cacf1a1c31a9d4a61a18674
osd: retry to read object attrs at EC recovery

In EC recovery read, if the object's attrs read failed or with errors, we erase the attrs we have read and
try to read it again from left shards. This will make the primary osd get the object's attrs correct and
avoid assert.

Signed-off-by: xiaofei cui <cuixiaofei@sangfor.com>
qa/standalone/erasure-code/test-erasure-eio.sh
src/osd/ECBackend.cc