You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2019/02/15 10:40:00 UTC

[jira] [Created] (IGNITE-11330) Partition demander should skip entries for invalid partition.

Andrew Mashenkov created IGNITE-11330:
-----------------------------------------

             Summary: Partition demander should skip entries for invalid partition.
                 Key: IGNITE-11330
                 URL: https://issues.apache.org/jira/browse/IGNITE-11330
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Andrew Mashenkov
             Fix For: 2.8


For now Partition demander tries to process all entries for invalid partition instead of switching to the next partition.

Looks like, this was introduced with a fix IGNITE-8955 to make checkpoint locks fine-grained.
A "for" loop under checkpoint readlock in GridDhtPartitionDemander.handleSupplyMessage() causes the issue. A flow can breaks inner "for" loop in case of invalid partition, but seems an outer "while" loop expected.

 

To resolve this we can e.g. move CacheEntryInfo collection processing into separate method and just exit from it if invalid partition is detected.



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