Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Fix NPE in HddsVolume.getCommitted(), which can happen for failed volumes.

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

How was this patch tested?

Added assertion unit test.

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

@adoroszlai adoroszlai self-assigned this Dec 29, 2023
@adoroszlai adoroszlai requested a review from szetszwo December 29, 2023 12:53
Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

+1 the change looks good.

@szetszwo szetszwo merged commit ec2634d into apache:master Dec 29, 2023
@adoroszlai adoroszlai deleted the HDDS-10027 branch December 29, 2023 16:39
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo for reporting the bug, reviewing and merging the PR.

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