SOLR-10463: setRetryExpiryTime should be deprecated in favor of Solr Client Builder methods#1220
SOLR-10463: setRetryExpiryTime should be deprecated in favor of Solr Client Builder methods#1220epugh merged 15 commits intoapache:mainfrom
Conversation
This reverts commit 7a189b0.
dsmiley
left a comment
There was a problem hiding this comment.
You added to the Builder but never consumed it! Do this in CloudSolrClient which is the base of the new & old impls.
You said we do not use this property but I believe you mean we do not set this property. It is used/retrieved in CloudSolrClient.
I was about to post a screenshot showing that this value was never used, and finally found it in a method |
solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudHttp2SolrClient.java
Show resolved
Hide resolved
solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudHttp2SolrClient.java
Outdated
Show resolved
Hide resolved
solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientBuilder.java
Outdated
Show resolved
Hide resolved
…Client Builder methods (#1220) Deprecated original method on clients, and added to builders.
https://issues.apache.org/jira/browse/SOLR-10463
Description
Similar to a number of others, this moves the property to the Builder.
HOWEVER, one thing is that it appears in my searching the source that we do NOT use this property! I'd love to have someone confirm this.. Is there a chance this should actually be deprecated and removed????
Solution
did the migration, however maybe we rip it all out?
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:
mainbranch../gradlew check.