Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

DNRPCLoadGenerator has a --clients parameter to specify the number of client objects. Supposedly clients can issue requests to datanodes in parallel, but because XceiverClientManager caches clients, only one client is ever instantiated.

This change fixes that by adding a non-caching implementation XceiverClientCreator, as the parent class of XceiverClientManager. Freon can now use it to avoid the bottleneck due to single client.

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

How was this patch tested?

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

@adoroszlai adoroszlai merged commit 9b6c142 into apache:master Aug 8, 2024
@adoroszlai adoroszlai deleted the HDDS-10874-review branch August 8, 2024 08:55
@adoroszlai
Copy link
Contributor Author

Thanks @jojochuang for the review.

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