Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11330

Partition demander should skip entries for invalid partition.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cache

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: