tkalkirill commented on code in PR #6442:
URL: https://github.com/apache/ignite-3/pull/6442#discussion_r2282410126


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/PageHeader.java:
##########
@@ -55,14 +56,21 @@ public class PageHeader {
     /** Page temp copy buffer relative pointer offset. */
     private static final int PAGE_TMP_BUF_OFFSET = 40;
 
+    private static final int PARTITION_GENERATION_OFFSET = 8;
+
+    private static final int FLAGS_OFFSET = 12;
+
+    /** Unknown partition generation. */
+    static final int UNKNOWN_PARTITION_GENERATION = -1;
+
     /**
      * Initializes the header of the page.
      *
      * @param absPtr Absolute pointer to initialize.
      * @param relative Relative pointer to write.
      */
     public static void initNew(long absPtr, long relative) {

Review Comment:
   Technically we can, but I don’t see the need for it, for example then we 
would need to pass it on to the checkpoint buffer, and I don’t think it would 
be needed there.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to