]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSDMap::_pg_to_up_acting_osds: use _acting_primary unless acting is empty 1317/head
authorSamuel Just <sam.just@inktank.com>
Wed, 26 Feb 2014 00:47:21 +0000 (16:47 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 26 Feb 2014 00:47:24 +0000 (16:47 -0800)
commitbe2748c6d540891f2e1a62e7034cb44f7d04bf18
treeacdd73e446e6dd6ceebf72d0a7f6b7cf0752c70d
parentdc079eb3c5007932ca17b90291eaf6c0604e2a35
OSDMap::_pg_to_up_acting_osds: use _acting_primary unless acting is empty

If the temp set for whatever reason has only CRUSH_ITEM_NONE,
we need primary to be -1.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/OSDMap.cc