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

{code:java}
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtForceKeysFuture
 and related stuff{code}
which is called if key is mapped to moving partition
 * *Unnecessary dht lock processing*

{code:java}
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture#map(java.lang.Iterable<org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry>)
{code}
needVal is always false if lateAff=true

Also 
\{{org.apache.ignite.configuration.IgniteConfiguration#setLateAffinityAssignment}}
 must be removed in 3.0

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

Some examples:
 * *Forced key preloading*

{code:java}
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtForceKeysFuture
 and related stuff{code}
which is called if key is mapped to moving partition

 * *Unnecessary dht lock processing*

{code:java}
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture#map(java.lang.Iterable<org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry>)
{code}
needVal is always false if lateAff=true


> 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*
> {code:java}
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtForceKeysFuture
>  and related stuff{code}
> which is called if key is mapped to moving partition
>  * *Unnecessary dht lock processing*
> {code:java}
> org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture#map(java.lang.Iterable<org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry>)
> {code}
> needVal is always false if lateAff=true
> Also 
> \{{org.apache.ignite.configuration.IgniteConfiguration#setLateAffinityAssignment}}
>  must be removed in 3.0



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

Reply via email to