Skip to content

Conversation

@peterxcli
Copy link
Member

What changes were proposed in this pull request?

AvailableSpaceFilter currently creates a new MinFreeSpaceCalculator for each call. It should be reused, by passing the instance created by HddsDispatcher.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12622

How was this patch tested?

CI:
https://github.com/peterxcli/ozone/actions/runs/13960870751

@peterxcli
Copy link
Member Author

This would have conflict with #8090

@adoroszlai
Copy link
Contributor

Thanks a lot @peterxcli for the patch. On second thought, seeing all the changes required to just pass the instance from HddsDispatcher, I would like to propose a different approach to improve encapsulation. Will post a PR when ready.

@adoroszlai
Copy link
Contributor

@peterxcli: #8119, please review when you have time

@adoroszlai
Copy link
Contributor

Thanks again @peterxcli for the patch, and sorry for changing direction after creating the Jira issue.

@adoroszlai adoroszlai closed this Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants