Darrel Schneider created GEODE-2801:
---------------------------------------

             Summary: disk store backup can fail with 
ArrayIndexOutOfBoundsException
                 Key: GEODE-2801
                 URL: https://issues.apache.org/jira/browse/GEODE-2801
             Project: Geode
          Issue Type: Bug
          Components: persistence
            Reporter: Darrel Schneider


A race condition exists in which a disk store backup may fail with an 
ArrayIndexOutOfBoundsException when calling hasKrf. Here is an example call 
stack:
{code}
java.lang.ArrayIndexOutOfBoundsException: 24
        at 
it.unimi.dsi.fastutil.longs.LongOpenHashSet.contains(LongOpenHashSet.java:315)
        at 
org.apache.geode.internal.cache.DiskInitFile.hasKrf(DiskInitFile.java:814)
        at org.apache.geode.internal.cache.Oplog.copyTo(Oplog.java:5724)
        at 
org.apache.geode.internal.cache.DiskStoreImpl.finishBackup(DiskStoreImpl.java:4218)
        at 
org.apache.geode.internal.cache.persistence.BackupManager.finishBackup(BackupManager.java:206)
        at 
org.apache.geode.admin.internal.FinishBackupRequest.createResponse(FinishBackupRequest.java:101)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to