dsmiley commented on code in PR #3185: URL: https://github.com/apache/solr/pull/3185#discussion_r1958484987
########## solr/core/src/java/org/apache/solr/handler/admin/api/ReplicationAPIBase.java: ########## @@ -377,7 +380,7 @@ public void write(OutputStream out) throws IOException { try { initWrite(); - Directory dir = solrCore.withSearcher(searcher -> searcher.getIndexReader().directory()); + Directory dir = getDirectory(); Review Comment: I can't tell from the PR but this code will need to ensure we release the directory. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org