Phillippko commented on code in PR #3933:
URL: https://github.com/apache/ignite-3/pull/3933#discussion_r1642736955


##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/PersistentPageMemoryTableStorage.java:
##########
@@ -164,7 +164,7 @@ private FreeListImpl createFreeList(
             boolean initNew = false;
 
             if (meta.freeListRootPageId() == 0) {
-                long rootPageId = pageMemory.allocatePage(getTableId(), 
partId, FLAG_AUX);
+                long rootPageId = pageMemory.allocatePageNoReuse(getTableId(), 
partId, FLAG_AUX);

Review Comment:
   We use free lists to reuse pages, so when creating free list itself we have 
nothing to reuse pages from. Or I'm wrong?



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