]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: use OSDMap::get_pg_acting_primary() to get the primary
authorKefu Chai <kchai@redhat.com>
Fri, 31 Mar 2017 10:30:53 +0000 (18:30 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 31 Mar 2017 10:31:05 +0000 (18:31 +0800)
commit73c75b97c5451f3d2f2414bb848f2473e25df22f
treeab3bdf35146afd8430c61fab5a5271894f07c02e
parent63f69e04df672c41ce4716f4cc97198b90e0636c
mgr: use OSDMap::get_pg_acting_primary() to get the primary

OSDMap::pg_to_acting_osds() assumes that the "acting" parameter is not
null.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mgr/DaemonServer.cc