You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/12 17:23:00 UTC

[jira] [Commented] (GEODE-6412) Improve concurrency for PartitionedIndex.getBucketIndex method

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

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

Commit 3c9ddc56dcead7fcf868a6ed64c115293b4bf931 in geode's branch refs/heads/develop from Jason Huynh
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3c9ddc5 ]

GEODE-6412: Improve concurrency for getBucketIndex (#3198)

  * Caching an arbitrary index instead of finding one for every getBucketIndex call
  * Refactored to use jmh asych group threads

> Improve concurrency for PartitionedIndex.getBucketIndex method
> --------------------------------------------------------------
>
>                 Key: GEODE-6412
>                 URL: https://issues.apache.org/jira/browse/GEODE-6412
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Jason Huynh
>            Assignee: Jason Huynh
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The method getBucketIndex is used when querying against a region with a partitioned index. Currently it is synchronized.  We can probably improve this by either removing the synchronization (try/catching expected exceptions) or some other mechanism to prevent iterator.next() and/or get(0) from failing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)