]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: PeeringState: add a comment about using size as a proxy for activateable
authorGreg Farnum <gfarnum@redhat.com>
Thu, 11 Mar 2021 07:19:26 +0000 (07:19 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 12 Mar 2021 20:56:45 +0000 (20:56 +0000)
commite19639af364d5a9762898e4aa438ad5930f0d42c
tree259a2469cc4ca8e074f9730b63795f67c37fbd9a
parente9185b0c437987b3d8cf3467ccaff22c8e422fe1
osd: PeeringState: add a comment about using size as a proxy for activateable

When reviewing, I mistakenly thought we needed to skip a size check in
choose_acting() in case of mismatches between size and bucket counts, but that
is not accurate!

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