You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2015/09/10 19:58:45 UTC

[jira] [Created] (GEODE-323) Primary Key indexes are not being properly used for Partitioned Region Queries

Jason Huynh created GEODE-323:
---------------------------------

             Summary: Primary Key indexes are not being properly used for Partitioned Region Queries
                 Key: GEODE-323
                 URL: https://issues.apache.org/jira/browse/GEODE-323
             Project: Geode
          Issue Type: Bug
          Components: querying
            Reporter: Jason Huynh
            Assignee: Jason Huynh


Iterator naming is set at the bucket index level, however lookups are done on the PartitionIndex level.  So when a lookup occurs, it will not find the correct mapping to index iterator name.  This leads to no matching indexes when expecting a primary key index lookup.

The fix is to populate a shared map at the PartitionIndex level for all bucket indexes and do the look up at the PartitionIndex level.

There is also a side bug where the isPopulate flag is not being set for PrimaryKey indexes.  



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