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

PageId handling improvement: PARTITION_ID masking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • cache
    • None

    Description

      All in-memory caches share the same FreeList data structure which relies on pageId comparisons to manage its internal state.

      As described in javadoc for FullPageId class each pageId contains a partitionID part which is not guaranteed to be constant and is going to be changed as part of a linked ticket.

      Thus we need to exclude partitionID when using pageId for comparisons that expect pageId to be constant.

      Notes

      This change is not applicable for persistent caches as they maintain separate FreeList for each partition so partitionID part is constant for pages from that partition.

      Attachments

        Issue Links

          Activity

            People

              sergey-chugunov Sergey Chugunov
              sergey-chugunov Sergey Chugunov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: