Skip to content

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