ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Chugunov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6641) PageId handling improvement: PARTITION_ID masking
Date Mon, 16 Oct 2017 14:13:00 GMT
Sergey Chugunov created IGNITE-6641:

             Summary: PageId handling improvement: PARTITION_ID masking
                 Key: IGNITE-6641
                 URL: https://issues.apache.org/jira/browse/IGNITE-6641
             Project: Ignite
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: cache
            Reporter: Sergey Chugunov
             Fix For: 2.4

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.

h2. 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.

This message was sent by Atlassian JIRA

View raw message