Phillippko commented on code in PR #6343: URL: https://github.com/apache/ignite-3/pull/6343#discussion_r2285221185
########## modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/store/FilePageStore.java: ########## @@ -191,7 +211,9 @@ public void read(long pageId, ByteBuffer pageBuf, boolean keepCrc) throws Ignite @Override public void write(long pageId, ByteBuffer pageBuf) throws IgniteInternalCheckedException { - assert pageIndex(pageId) <= pageCount : "pageIdx=" + pageIndex(pageId) + ", pageCount=" + pageCount; + int pageIndex = pageIndex(pageId); + + assert pageIndex < pageCount : "pageIdx=" + pageIndex + ", pageCount=" + pageCount; Review Comment: Leftovers, removed -- 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