nabarun created GEODE-1745:
------------------------------

             Summary: In case of Compact Map Range Index, query reevaluation 
results in false results
                 Key: GEODE-1745
                 URL: https://issues.apache.org/jira/browse/GEODE-1745
             Project: Geode
          Issue Type: Bug
            Reporter: nabarun


This happens if the query needs to be re-evaluated because updates / index 
updates happened quite close to the query execution. During re-evaluation a 
single object is being compared with a tuple returned by CRI which does contain 
the object to be matched but along with a key. This mis-match results in a 
wrong query result. 

Fix: In CompactRangeIndex.java, while we are in the method evaluateEntry, we do 
a special check when compact map range indexes are used, and make sure the 
comparison is between the object to be searched and the first element of the 
tuple.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to