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

Stanislav Lukyanov commented on IGNITE-9519:
--------------------------------------------

The problem was that we have multiple of representing equal binary objects - 
detached (binary object in its own array) and non-detached (object in a parent 
array with a `start` field indicating where the object starts. To fix that I've 
added call to `BinaryObjectImpl::detach` to have the objects in a "canonical" 
way.

TC: 
https://ci.ignite.apache.org/viewLog.html?buildId=1901198&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_RunAll

[~vozerov], please review (third time's a charm!).

> PK as complex type should can be keep at inline index
> -----------------------------------------------------
>
>                 Key: IGNITE-9519
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9519
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>    Affects Versions: 2.6
>            Reporter: Yury Gerzhedovich
>            Assignee: Stanislav Lukyanov
>            Priority: Major
>             Fix For: 2.7
>
>
> Currently in case PK is complex type it can not be keep at inline index.
> This is critical performance issue due to for any put or get operation it 
> cant' be fully comparable and require read full object from the heap or even 
> disk storage.
> To mitigate the problem we need add ability keep complex type (java object) 
> at inline indexes.



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

Reply via email to