]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: retry to read object attrs at EC recovery 24327/head
authorcuixf <cuixiaofei@sangfor.com.cn>
Thu, 24 May 2018 00:01:25 +0000 (20:01 -0400)
committerNathan Cutler <ncutler@suse.com>
Fri, 28 Sep 2018 08:29:06 +0000 (10:29 +0200)
commit3893d07a194acac628946dc58489bb2c62e2485e
treea67bb319cc1e10a09744f0a2c522bdc2c8e37e33
parent1fdbedfc6a08ac9363ac6b3a3390cda1f877ed9e
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>
(cherry picked from commit 3eb1679b1fadb6adb6ff4ed3f1f6069a85f4bbcd)
qa/standalone/erasure-code/test-erasure-eio.sh
src/osd/ECBackend.cc