You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2016/08/10 20:48:20 UTC

[jira] [Created] (GEODE-1745) In case of Compact Map Range Index, query reevaluation results in false results

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)