You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Chugunov (JIRA)" <ji...@apache.org> on 2017/10/16 14:13:00 UTC

[jira] [Created] (IGNITE-6641) PageId handling improvement: PARTITION_ID masking

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
(v6.4.14#64029)