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

Reply via email to