]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
PeeringState.cc: Only populate want_acting when num_osds < bucket_max
authorKamoltat <ksirivad@redhat.com>
Thu, 9 May 2024 20:18:51 +0000 (20:18 +0000)
committerroot <root@vossi06.front.sepia.ceph.com>
Wed, 7 Aug 2024 14:10:34 +0000 (14:10 +0000)
commit4eedc6c9df6d406b4b929cae70478b29d65c66b1
treea5459bf992ec23e96816285f04ef5bf7196379ce
parentac58f7c6b5624701078a21af555b982836ab9544
PeeringState.cc: Only populate want_acting when num_osds < bucket_max

Currently, in `calc_replicated_acting_stretch` we would
call `pop_ancester` before checking whether the next
OSD we populate in the want_acting set would have
the ancestor count that is >= bucket_max.

Fixes: https://tracker.ceph.com/issues/65371
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit e26545f86f93985569d3a7b2749e9ad77a40deea)
src/osd/PeeringState.cc