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

SOLR-8146 decouple building url list from CloudSolrClient to separate class for… #147

Closed
wants to merge 1 commit into from

Conversation

susheelks
Copy link

I am suggesting to decouple building the url list from CloudSolrClient.sendRequest(..) to a separate class. The advantage will be the ability to easily write unit test for building the url list part and as we implement more routingRules for querying like query only the same rack replica's / OR query replica's where mem/cpu/disk utilisation is below a threshold can be easily unit tested etc.

I can add more tests if approach looks good. Please review.

markrmiller added a commit that referenced this pull request Jul 14, 2020
@tflobbe
Copy link
Member

tflobbe commented Jul 15, 2020

Thanks for putting up this PR @susheelks. While this PR wasn't merged, the functionality was added by some other commits

@tflobbe tflobbe closed this Jul 15, 2020
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