You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexei Scherbakov (JIRA)" <ji...@apache.org> on 2019/04/24 07:30:00 UTC

[jira] [Created] (IGNITE-11801) Clearing of moving partition may lead to partition desync.

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)