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

PageId handling improvement: PARTITION_ID masking

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: cache
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: