ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11330) Partition demander should skip entries for invalid partition.
Date Fri, 15 Feb 2019 10:40:00 GMT
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)

Mime
View raw message