rpuch commented on code in PR #814:
URL: https://github.com/apache/ignite-3/pull/814#discussion_r878370157


##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/VolatilePageMemoryDataRegion.java:
##########
@@ -62,32 +68,77 @@ public void start() {
         this.pageMemory = pageMemory;
 
         try {
-            int grpId = 0;
-
-            long metaPageId = pageMemory.allocatePage(grpId, INDEX_PARTITION, 
FLAG_AUX);
-
-            this.freeList = new TableFreeList(
-                    grpId,
-                    pageMemory,
-                    PageLockListenerNoOp.INSTANCE,
-                    metaPageId,
-                    true,
-                    null,
-                    PageEvictionTrackerNoOp.INSTANCE,
-                    IoStatisticsHolderNoOp.INSTANCE
-            );
+            this.tableFreeList = createTableFreeList(pageMemory, 
FREE_LIST_GROUP_ID);

Review Comment:
   Thanks for noting this, I did not know about this feature of page memory 
free lists. Implemented the suggested change.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to