Skip to content

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
@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