geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-323) Primary Key indexes are not being properly used for Partitioned Region Queries
Date Sat, 20 Feb 2016 00:00:20 GMT

    [ https://issues.apache.org/jira/browse/GEODE-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155180#comment-15155180
] 

ASF subversion and git services commented on GEODE-323:
-------------------------------------------------------

Commit 575f66cea8189d2ad44e4e1467b222a76d72a01b in incubator-geode's branch refs/heads/feature/GEODE-917
from [~huynhja]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=575f66c ]

GEODE-323: Primary Key indexes are not being properly used for Partitioned Region Queries

Iterator naming is set at the bucket index level, however lookups are done on the PartitionIndex
level.
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.

Fix bug where isPopulate flag is not being set on PrimaryKey indexes that prevented them from
being used.


> 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)

Mime
View raw message