----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52619/ -----------------------------------------------------------
Review request for geode, Barry Oglesby, Jason Huynh, Dan Smith, and xiaojian zhou. Repository: geode Description ------- CompactMapRangeIndex loses track when the same entry is deleted and added because after the mapping was removed from the CompactMapRangeIndex it was not removed from removedKeyValuesEntries. So when the same entry is reentered, the system ends up thinking inplace modification has occured and ends up removing the updated new entry, resulting in empty query results for that entry. Diffs ----- geode-core/src/main/java/org/apache/geode/cache/query/internal/index/CompactMapRangeIndex.java 234dfae geode-core/src/test/java/org/apache/geode/cache/query/internal/index/MapRangeIndexMaintenanceJUnitTest.java b651272 Diff: https://reviews.apache.org/r/52619/diff/ Testing ------- precheck Additional tests were written. Thanks, nabarun nag