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

Alexei Scherbakov updated IGNITE-10251:
---------------------------------------
    Description: 
This code can hide errors and lead to inefficient processing in some scenarios.

Some examples:

* Forced key preloading
```
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtForceKeysFuture
 and related stuff
```
which is called if key is mapped to moving partition

* Unnecessary dht lock processing:
```org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture#map(java.lang.Iterable<org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry>)
```
needVal is always false if lateAff=true


  was:This code can hide errors and lead to inefficient processing in some 
scenarios.


> Get rid of the code left from times when lateAffinity=false was supported
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-10251
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10251
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexei Scherbakov
>            Priority: Major
>             Fix For: 2.8
>
>
> This code can hide errors and lead to inefficient processing in some 
> scenarios.
> Some examples:
> * Forced key preloading
> ```
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtForceKeysFuture
>  and related stuff
> ```
> which is called if key is mapped to moving partition
> * Unnecessary dht lock processing:
> ```org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture#map(java.lang.Iterable<org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry>)
> ```
> needVal is always false if lateAff=true



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

Reply via email to