]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: automatically repair replicated replica on pulling error
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Dec 2018 08:54:19 +0000 (16:54 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 4 Apr 2019 03:04:42 +0000 (11:04 +0800)
commit202606c26dadc5f7e65a8aed69fbc11fb0767405
tree95d9a61c70365a05a029b6017b218d86d9b6de32
parentb138135e048688639289e3902b36bdf841da9979
osd: automatically repair replicated replica on pulling error

However this is not a very complete solution since the broken object
info may still get lost if we switch primaries or simply power off nodes.
I think a better idea would be also adding these kind of broken objects
back into replica's own missing set simultaneously, e.g., like we handling
primary reading errors.

But for now I am not sure if that should be a concern?

Fixes: http://tracker.ceph.com/issues/39101
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PGBackend.h
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/osd/ReplicatedBackend.cc