Skip to content

HDDS-14571. Remove synchronized methods from XceiverClientGrpc#9718

Merged
smengcl merged 8 commits intoapache:masterfrom
ptlrs:HDDS-14571-XceiverClientGrpcClose-remove-synchronized
Feb 24, 2026
Merged

HDDS-14571. Remove synchronized methods from XceiverClientGrpc#9718
smengcl merged 8 commits intoapache:masterfrom
ptlrs:HDDS-14571-XceiverClientGrpcClose-remove-synchronized

Conversation

@ptlrs
Copy link
Contributor

@ptlrs ptlrs commented Feb 6, 2026

What changes were proposed in this pull request?

This PR originates from https://issues.apache.org/jira/browse/HDDS-14454 refactors the code to use ConcurrentHashMaps and remove the synchronized methods that are used in XceiverClientGrpc

What is the link to the Apache JIRA

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

How was this patch tested?

CI: https://github.com/ptlrs/ozone/actions/runs/21737324867

@adoroszlai
Copy link
Contributor

@yandrey321 please try to avoid "Add single comment", rather "Start review" and submit all comments in a single batch via "Review changes"

ptlrs added 2 commits February 9, 2026 18:39
…o improve channel management and reduce synchronization.
@ptlrs
Copy link
Contributor Author

ptlrs commented Feb 10, 2026

Thanks for the review @yandrey321. I have updated the PR. Could you please take a look again?

@ptlrs ptlrs requested a review from yandrey321 February 10, 2026 03:16
Copy link

@yandrey321 yandrey321 left a comment

Choose a reason for hiding this comment

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

lgtm

@ptlrs ptlrs marked this pull request as ready for review February 10, 2026 18:44
Copy link
Contributor

@smengcl smengcl left a comment

Choose a reason for hiding this comment

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

+1 pending CI

@smengcl smengcl merged commit 885d341 into apache:master Feb 24, 2026
65 of 72 checks passed
@smengcl
Copy link
Contributor

smengcl commented Feb 24, 2026

Thanks @ptlrs for tha patch. Thanks @yandrey321 for reviewing this.

@adoroszlai
Copy link
Contributor

This PR was created on top of #9717, so it should have been a draft to avoid getting merged first. Now 885d341 includes changes for both PRs.

@ptlrs ptlrs deleted the HDDS-14571-XceiverClientGrpcClose-remove-synchronized branch February 25, 2026 03:16
@ptlrs
Copy link
Contributor Author

ptlrs commented Feb 25, 2026

Thanks for the reviews @yandrey321 @smengcl @adoroszlai

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.

4 participants