You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Kirill Tkalenko (Jira)" <ji...@apache.org> on 2025/08/15 09:37:00 UTC

[jira] [Created] (IGNITE-26216) Add partition generation to in-memory page header for PersistentPageMemory

Kirill Tkalenko created IGNITE-26216:
----------------------------------------

             Summary: Add partition generation to in-memory page header for PersistentPageMemory
                 Key: IGNITE-26216
                 URL: https://issues.apache.org/jira/browse/IGNITE-26216
             Project: Ignite
          Issue Type: Improvement
            Reporter: Kirill Tkalenko
            Assignee: Kirill Tkalenko


To correctly fix problems related to partition deletion, we need to compare partition generations, so as not to copy a page for a checkpoint, for example. But for this, we need to store the partition generation somewhere at the time of creating a page in memory or updating it due to detection that it has become obsolete.

It was discovered that the page header has an unused field "123", which essentially stores only flags. I suggest using it and storing the partition generation there instead of not using a relative pointer.

Also within this ticket it is proposed to make some changes, maybe refactorings and improving documentation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)