]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ECBackend::continue_recovery_op: handle a source shard going down 1744/head
authorSamuel Just <sam.just@inktank.com>
Thu, 24 Apr 2014 19:48:44 +0000 (12:48 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 24 Apr 2014 19:48:46 +0000 (12:48 -0700)
commit1885792c517670086332a8bab237c58558ee6dda
tree0d851ae2087320924c8bac7967aa1252953c2a5a
parent2708c3c559d99e6f3b557ee1d223efa3745f655c
ECBackend::continue_recovery_op: handle a source shard going down

get_min_avail_to_read_shards might return an error if there are
no longer enough sources to reconstruct the missing shards.
This is possible if osds went down while we were writing the
previous chunk -- we already notice in check_recovery_sources
if a source goes down during a read.

Fixes: #8161
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ECBackend.cc