You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ml...@apache.org on 2025/06/03 20:31:33 UTC

(solr) branch main updated: SOLR-16470: Include IOException in logs when DirectoryFileStream fails (#3373)

This is an automated email from the ASF dual-hosted git repository.

mlbiscoc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 995b7faa74c SOLR-16470: Include IOException in logs when DirectoryFileStream fails (#3373)
995b7faa74c is described below

commit 995b7faa74c6a1a0d574ac29091d92c356d5169a
Author: Jude Muriithi <90...@users.noreply.github.com>
AuthorDate: Tue Jun 3 16:31:27 2025 -0400

    SOLR-16470: Include IOException in logs when DirectoryFileStream fails (#3373)
    
    Log the DirectoryFileStream IOException on failure
    
    ---------
    
    Co-authored-by: jmuriithi3 <jm...@bloomberg.net>
---
 .../java/org/apache/solr/handler/admin/api/ReplicationAPIBase.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/handler/admin/api/ReplicationAPIBase.java b/solr/core/src/java/org/apache/solr/handler/admin/api/ReplicationAPIBase.java
index 28355f3876f..10f0e1bd785 100644
--- a/solr/core/src/java/org/apache/solr/handler/admin/api/ReplicationAPIBase.java
+++ b/solr/core/src/java/org/apache/solr/handler/admin/api/ReplicationAPIBase.java
@@ -430,7 +430,8 @@ public abstract class ReplicationAPIBase extends JerseyResource {
             sLen,
             compress,
             indexGen,
-            useChecksum);
+            useChecksum,
+            e);
       } finally {
         IOUtils.closeQuietly(in);
         if (dir != null) {
@@ -516,7 +517,8 @@ public abstract class ReplicationAPIBase extends JerseyResource {
             sLen,
             compress,
             indexGen,
-            useChecksum);
+            useChecksum,
+            e);
       } finally {
         extendReserveAndReleaseCommitPoint();
       }