[ 
https://issues.apache.org/jira/browse/GEODE-2801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987090#comment-15987090
 ] 

ASF subversion and git services commented on GEODE-2801:
--------------------------------------------------------

Commit 003de33f217f854a9090386ae704d50bac57fe09 in geode's branch 
refs/heads/feature/GEM-1299 from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=003de33 ]

GEODE-2801: change krfIds to be thread safe


> 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
>            Assignee: Darrel Schneider
>             Fix For: 1.2.0
>
>
> 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