ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3183) ScanQuery and localEntries are ignored keepBinary flag in OFFHEAP_TIERED mode
Date Fri, 27 May 2016 11:16:12 GMT

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

Semen Boikov commented on IGNITE-3183:
--------------------------------------

Reviewed, I didn't like that method 'context.keepBinary' which is based on thread-local variable
is called from random places, I changed this to call it once in GridCacheAdapter and pass
to all 'terators' methods, please take a look at my changes.

Also it isn't clear why key and value are handled differently in 'GridCacheQueryManager.scanIterator',
could you please explain this?

> ScanQuery and localEntries are ignored keepBinary flag in OFFHEAP_TIERED mode
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-3183
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3183
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache, important
>    Affects Versions: 1.6
>            Reporter: Nikolay Tikhonov
>            Assignee: Anton Vinogradov
>         Attachments: CacheKeepBinaryIterationTest.java
>
>
> {{ScanQuery}} and {{localEntries}} method returns iterator which contains deserialized
entries but they have been called with withKeepBinary flag. Reproducible test attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message