]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/objecter: add check against existence of acting_primary
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 23 Aug 2016 07:27:34 +0000 (15:27 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 23 Aug 2016 07:27:34 +0000 (15:27 +0800)
commit1379fbd52d9d627fd00fb1b36d463d8e512776bd
treeae79b788a1c7106861fccff7e0bc9ab7977dfd30
parentbce9b9336ef31159226b76e47dfb3a988004684f
osdc/objecter: add check against existence of acting_primary

pg_to_acting_osds() could return invalid acting and acting_primary.
So we shall check against the validity of acting_primary before proceeding on.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osdc/Objecter.cc