geode-dev 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-2538) Lucene query with values should not invoke cache loader
Date Wed, 01 Mar 2017 01:46:45 GMT

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

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

Commit 8b762bede8e064704ea67ba986491184066c2b56 in geode's branch refs/heads/develop from
[~upthewaterspout]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=8b762be ]

GEODE-2538: Don't deserialize values on the server when getting results

If values on the server are in serialized form, leave them that way and
only deserialize the values on the clients.

This is implemented by having the LuceneGetPageFunction extract the
serialized value and return the results in a new PageResults class,
which handles the deserialization and upwrapping of the value if
necessary.


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

Mime
View raw message