]
Gustavo Fernandes updated ISPN-8168:
------------------------------------
Fix Version/s: 9.1.1.Final
Index corruption with topology changes
--------------------------------------
Key: ISPN-8168
URL:
https://issues.jboss.org/browse/ISPN-8168
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 9.1.0.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Labels: query, testsuite_stability
Fix For: 9.1.1.Final
Attachments: trace.zip
This can be observed in the LiveRunningTest, that fails very often with
{noformat}
Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file found in
InfinispanDirectory{indexName='emails'}: files: []
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:726)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:683)
{noformat}
The cache entry that contains the list of files the lucene directory (FileListCacheValue)
for some reason is empty, although the index is not. The missing value for
FileListCacheValue causes the index reader to think the index is empty and thus the error