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-10046. Replace PrecomputedVolumeSpace with SpaceUsageSource.Fixed #5904

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

PrecomputedVolumeSpace, added in HDDS-9380, is structurally very similar to the Fixed implementation of SpaceUsageSource. The latter is currently only used for testing. We can reduce duplication by moving Fixed from tests to production code and replacing PrecomputedVolumeSpace with it.

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

How was this patch tested?

Refactoring, covered by existing tests:
https://github.com/adoroszlai/ozone/actions/runs/7385534327

@adoroszlai adoroszlai self-assigned this Jan 2, 2024
@adoroszlai
Copy link
Contributor Author

@xichen01 please review

@adoroszlai adoroszlai requested a review from sadanand48 January 4, 2024 19:32
Copy link
Contributor

@sadanand48 sadanand48 left a comment

Choose a reason for hiding this comment

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

LGTM

@adoroszlai adoroszlai merged commit 2066868 into apache:master Jan 5, 2024
34 checks passed
@adoroszlai adoroszlai deleted the HDDS-10046 branch January 5, 2024 07:25
@adoroszlai
Copy link
Contributor Author

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