You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2016/04/12 07:59:43 UTC

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

     [ https://issues.apache.org/jira/browse/GEODE-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker closed GEODE-323.
-------------------------------

> 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
>             Fix For: 1.0.0-incubating.M2
>
>
> 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)