Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-10504. Remove unused VolumeInfo#configuredCapacity #6363

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

VolumeInfo#configuredCapacity is unused, can be removed.

Also: let VolumeUsage not implement SpaceUsageSource. Long term goal is to access all space usage properties of VolumeUsage via a single call to snapshot(). Removing implements is a first step to removing individual methods like getAvailable().

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

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/8231787063

@adoroszlai adoroszlai added the code-cleanup Changes that aim to make code better, without changing functionality. label Mar 11, 2024
@adoroszlai adoroszlai self-assigned this Mar 11, 2024
Copy link
Contributor

@myskov myskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch @adoroszlai, LGTM

@adoroszlai adoroszlai merged commit 0763985 into apache:master Mar 11, 2024
36 checks passed
@adoroszlai adoroszlai deleted the HDDS-10504 branch March 11, 2024 14:49
@adoroszlai
Copy link
Contributor Author

Thanks @myskov for the review.

xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 17, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 17, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 17, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 18, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-cleanup Changes that aim to make code better, without changing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants