]
Ryan Emerson updated ISPN-7186:
-------------------------------
Fix Version/s: 10.0.0.Alpha1
9.4.2.Final
Sprint: Sprint 10.0.0.Alpha1
SFS Avoid Reading Index if Purge on startup is enabled
------------------------------------------------------
Key: ISPN-7186
URL:
https://issues.jboss.org/browse/ISPN-7186
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 8.2.2.Final
Reporter: Elias Ross
Assignee: Ryan Emerson
Priority: Major
Fix For: 10.0.0.Alpha1, 9.4.2.Final
I've observed the following error, which periodically happens when the application
restarts.
This is likely due to a non-clean shutdown truncating the file. Ideally Inifinispan can
simply truncate or skip such entries without blocking start-up
Caused by: org.infinispan.persistence.spi.PersistenceException:
org.infinispan.persistence.spi.PersistenceException: ISPN000279: Failed to re
ad stored entries from file. Error in file raster.dat at offset 4
at
org.infinispan.persistence.file.SingleFileStore.start(SingleFileStore.java:135)
~[org.infinispan-infinispan-core-8.2.2.Final.jar:8
.2.2.Final]
at
org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:144)
~[org.infinispan-infinispan-core-
8.2.2.Final.jar:8.2.2.Final]
... 115 common frames omitted
Caused by: org.infinispan.persistence.spi.PersistenceException: ISPN000279: Failed to
read stored entries from file. Error in file raster.dat at offset 4
at
org.infinispan.persistence.file.SingleFileStore.rebuildIndex(SingleFileStore.java:195)
~[org.infinispan-infinispan-core-8.2.2.Fina
l.jar:8.2.2.Final]
at
org.infinispan.persistence.file.SingleFileStore.start(SingleFileStore.java:126)
~[org.infinispan-infinispan-core-8.2.2.Final.jar:8
.2.2.Final]
... 116 common frames omitted