]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: augment osd heartbeat peers with neighbors and randoms, to up some min
authorSage Weil <sage@inktank.com>
Wed, 29 May 2013 18:27:38 +0000 (11:27 -0700)
committerSage Weil <sage@inktank.com>
Thu, 30 May 2013 05:43:49 +0000 (22:43 -0700)
commite1dc3fd300999dd35530ce619fd433094365d6cd
treef334112a13e7ec195ef27a2e06d6e5b532a42ad7
parent80942eb04ca75f40234a5b671827bc7e8aa27439
osd: augment osd heartbeat peers with neighbors and randoms, to up some min

- always include our neighbors to ensure we have a fully-connected
  graph
- include some random neighbors to get at least some min number of peers.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSDMap.h