]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: PeeringState: don't add acting-set OSDs to candidate set in stretch mode
authorGreg Farnum <gfarnum@redhat.com>
Thu, 11 Mar 2021 22:19:10 +0000 (22:19 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 12 Mar 2021 20:58:52 +0000 (20:58 +0000)
commit3313a8b651e049de38421e37fae390a90b212dc9
treef6a427df4b355420e850b051948ebe3e08d0fec9
parentd09253081f7703fcb5a1bebce8840b489a3fc3ab
osd: PeeringState: don't add acting-set OSDs to candidate set in stretch mode

We were adding them once from the acting set, and then once from the all_infos
set, and that hit an assert later on. (I think it was otherwise harmless, but
I don't want to weaken the assert!)

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/osd/PeeringState.cc