Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c/pb_planner: clamp calculated free space down to prevent overshoot
In the initial phase `health_report`` reported space may be incorrect as not all partition storage information are included. Introduced clamping down to actual disk free space + reclaimable size. This way we will never go beyond the actual free space but when all reported values are up to date the calculated free space should always be smaller then or equal to free space plus reclaimable space. Signed-off-by: Michal Maslanka <michal@redpanda.com>
- Loading branch information