-
Bug
-
Resolution: Done
-
Major
-
9.1.0.Final
org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
... 24 more
... Removed 16 stack frames
- is duplicated by
-
ISPN-8247 SoftIndexFileStoreTest failures
-
- Closed
-
I could reproduce another issue in this test. If the store.process() method commences before moving entry from a compacted file to a new file, the new file is ignored. This is because the forEachOnDisk does not rescan the files/record new ones that are being created.