Commit e26545f
committed
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 <[email protected]>1 parent a00caf8 commit e26545f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2106 | 2106 | | |
2107 | 2107 | | |
2108 | 2108 | | |
2109 | | - | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
2110 | 2112 | | |
2111 | 2113 | | |
2112 | 2114 | | |
| |||
0 commit comments