[ 
https://issues.apache.org/jira/browse/IGNITE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yakov Zhdanov updated IGNITE-514:
---------------------------------
    Description: 
1. Lock all entries only if store enabled and batch update is true
2. Lock entries in natural order if keys are comparable, otherwise serialize 
keys and sort serialized byte arrays.

Take a look at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache#lockEntries
 and its invocations.




  was:
1. Lock all entries only if store enabled and batch update is true
2. Lock entries in natural order if keys are comparable, otherwise serialize 
keys and sort serialized byte arrays.





> Need to lock entries in ATOMIC cache only when doing batch store update
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-514
>                 URL: https://issues.apache.org/jira/browse/IGNITE-514
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.7
>            Reporter: Andrey Gura
>
> 1. Lock all entries only if store enabled and batch update is true
> 2. Lock entries in natural order if keys are comparable, otherwise serialize 
> keys and sort serialized byte arrays.
> Take a look at 
> org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache#lockEntries
>  and its invocations.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to