Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

if fsync()'ing the segments.gen gets interrupt()ed in its hairy sleeping loop, ignore it like any other exception, we already committed and this file is optional

Robert Muir6b7362404ab0
diff --git a/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java b/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
index f375c79e041..203e7aeba71 100644
--- a/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
+++ b/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
@@ -868,9 +868,6 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentInfoPerCom
// Ignore; this file is only used in a retry
// fallback on init.
}
- if (t instanceof ThreadInterruptedException) {
- throw (ThreadInterruptedException) t;
- }
}
}