]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
redirect balanced reads to acting primary when necessary 15489/head
authorXuehan Xu <xxhdx1985126@163.com>
Mon, 5 Jun 2017 16:17:31 +0000 (00:17 +0800)
committerXuehan Xu <xxhdx1985126@163.com>
Sun, 18 Jun 2017 07:46:00 +0000 (15:46 +0800)
commit7bafc73f8a2af9caa78a3d520a2b3ca4701c8be1
tree6e1e27c3f5346cefe81089c320781007095881a3
parent54b916bfd88f096aa4e8fa5c187e7b04889eb500
redirect balanced reads to acting primary when necessary

Redirect balanced read requests to acting primary when the
targeting object hasn't been recovered on replica OSDs.

Fixes: http://tracker.ceph.com/issues/17968
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
src/osd/PrimaryLogPG.cc
src/osdc/Objecter.cc