[ https://issues.apache.org/jira/browse/SOLR-16505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818237#comment-17818237 ]
Sanjay Dutt commented on SOLR-16505: ------------------------------------ In {{{}RecoveryStrategy.java{}}}, sendPrepRecoveryCmd sending async request using HttpUriRequest, After replacing it with newer client there is no option to create HttpUriRequest. However, we can send asyncRequest using Http2SolrClient which use executor internally. Upon calling, {{withExecutor()}} to set the executor, it did not work. Further inspection revealed that Http2SolrClient only set executor while creating new HttpClient, In case, if builder is initialized with existing client there is no way to set the executor. I added the new code to tackle that issue. > Switch UpdateShardHandler.getRecoveryOnlyHttpClient to Jetty HTTP2 > ------------------------------------------------------------------ > > Key: SOLR-16505 > URL: https://issues.apache.org/jira/browse/SOLR-16505 > Project: Solr > Issue Type: Sub-task > Reporter: David Smiley > Priority: Major > > This method and its callers (only RecoveryStrategy) should be converted to a > Jetty HTTP2 client. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org