You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/03/01 00:14:45 UTC
[jira] [Commented] (GEODE-2538) Lucene query with values should not
invoke cache loader
[ https://issues.apache.org/jira/browse/GEODE-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889170#comment-15889170 ]
ASF subversion and git services commented on GEODE-2538:
--------------------------------------------------------
Commit 712d87f791906cbd1c11dd0f4655032dabf57755 in geode's branch refs/heads/GEODE-4160-mockito from [~upthewaterspout]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=712d87f ]
GEODE-2538: Don't invoke a cache loader when fetching values for a lucene query
Instead of using getAll, fetch the values of a lucene query using a
function that calls getEntry. We can then avoid invoking the cache
loader.
> Lucene query with values should not invoke cache loader
> -------------------------------------------------------
>
> Key: GEODE-2538
> URL: https://issues.apache.org/jira/browse/GEODE-2538
> Project: Geode
> Issue Type: Improvement
> Components: lucene
> Reporter: Dan Smith
> Assignee: Dan Smith
>
> Lucene queries use getAll to fetch pages when returning values.
> If an entry is destroyed after the query has found the list of keys, but before the query finds the values, the getAll with trigger a cache loader and reload the value. This may be unexpected behavior.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)