Alexei Scherbakov created IGNITE-11801:
------------------------------------------

             Summary: Clearing of moving partition may lead to partition desync.
                 Key: IGNITE-11801
                 URL: https://issues.apache.org/jira/browse/IGNITE-11801
             Project: Ignite
          Issue Type: Bug
            Reporter: Alexei Scherbakov


{{o.a.i.i.processors.cache.distributed.dht.topology.GridDhtLocalPartition#tryClear}}
calls 
{{org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtLocalPartition#clearAll}}

Inside clearAll {{clearVer = ctx.versions().next();}} is defined on call time, 
but this may happen after exchange future is finished and some update already 
applied to MOVING partition resulting in removal of actual data from partition.

Fix: assign clear version before exchange future is finished.

 



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

Reply via email to