[ https://issues.apache.org/jira/browse/SOLR-16505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828941#comment-17828941 ]
Sanjay Dutt commented on SOLR-16505: ------------------------------------ *IndexFetcher Exception:* IndexFetcher calls fetchFile(), to download the file via fetch(), in case of failure it retries by calling fetch() again. However every calls to *fetch* would call cleanup() which close the directory, and therefore another to call to fetch throws the exception *AlreadyClosedException.* o.a.s.h.IndexFetcher Error in fetching file: _1h.fdx (downloaded 0 of 64 bytes) {code:java} 2> => org.apache.lucene.store.AlreadyClosedException: Already closed: MockIndexOutputWrapper(ByteBuffersDirectory output (file=_1h.fdx)) 2> at org.apache.lucene.tests.store.MockIndexOutputWrapper.ensureOpen(MockIndexOutputWrapper.java:124) 2> org.apache.lucene.store.AlreadyClosedException: Already closed: MockIndexOutputWrapper(ByteBuffersDirectory output (file=_1h.fdx)) 2> at org.apache.lucene.tests.store.MockIndexOutputWrapper.ensureOpen(MockIndexOutputWrapper.java:124) ~[lucene-test-framework-9.9.2.jar:9.9.2 a2939784c4ca60bc28bf488b5479c02fc2e5e22c - 2024-01-25 09:51:09] {code} > 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 > Time Spent: 3h 50m > Remaining Estimate: 0h > > 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