----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43510/ -----------------------------------------------------------
Review request for geode, Barry Oglesby, Jason Huynh, William Markito, and Dan Smith. Repository: geode Description ------- Fix for GEODE-106 Invalidate operation fails with IndexMaintenanceException with underlying java.lang.ArrayIndexOutOfBoundsException. Issue: IndexElementArrray is used to efficiently (speed/space) manage index data. There are 2 issues with IndexElemArray, the size and elemendata are not atomically updated with contains() operation; and while iterating the elementData content. Solution: Lock is added, so that size and elements are modified atomically, and elementData doesn't change when iteration is started. Diffs ----- gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/index/IndexElemArray.java b94f97500971b37d0ec81a858c4fb4d52e08c3ed Diff: https://reviews.apache.org/r/43510/diff/ Testing ------- Unit tests run. Started completed tests. Thanks, anilkumar gingade
