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

Ilya Lantukh commented on IGNITE-2948:
--------------------------------------

- Fixed some potential reasons of hang-ups during partition exchange.
- Fixed topology version validation on 
GricCachePartitionTopologyImpl#createPartition().

Currently I'm working on fixing other test failures and hang-ups and 
implemention KeyCacheObject#partition() for BinaryObjects. I see 2 possible 
approaches here:
1. Create new class - BinaryKeyObjectImpl, and add a flag to serialized 
BinaryObject that will indicate whether this object is key or not. Key objects 
will include partition number.
2. When wrapping object using toKeyCacheObject() into BinaryObject, add utility 
binary field that will store partition number.
I'd prefer the first one as it seems more logical and straightforward. Right 
now I am still analyzing how much effort each will take.

> Optimize usage of GridCacheConcurrentMap
> ----------------------------------------
>
>                 Key: IGNITE-2948
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2948
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>            Reporter: Ilya Lantukh
>            Assignee: Ilya Lantukh
>
> 1. Eliminate cases where an entry is stored in multiple maps.
> 2. Change GridCacheConcurrentMap implementation to be based on internal 
> ConcurrentMap.
> 3. Remove redundant and obsolete code related to map usage.



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

Reply via email to