You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/04/20 00:03:04 UTC

[jira] [Created] (GEODE-2801) disk store backup can fail with ArrayIndexOutOfBoundsException

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)