]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/PG: choose replicated acting by last_update
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 19 Oct 2017 09:05:59 +0000 (17:05 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 24 Oct 2017 00:37:17 +0000 (08:37 +0800)
commit348b319ad11f2f14955f2332c03213eb3e5e548f
treeacb2ff0cd7e5cf2ff6d5ae0426a223f8ee9e6ab1
parent29fc326861571eeaab11e06ff081b9873b3cbc52
os/PG: choose replicated acting by last_update

Candidate which has a newer last_update should take precedence,
since it can be technically brought back to normal sooner than others.

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