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


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/PersistentPageMemory.java:
##########
@@ -874,19 +871,37 @@ private void copyInBuffer(long absPtr, ByteBuffer tmpBuf) 
{
     }
 
     /**
-     * Get current prartition generation tag.
+     * Get current partition generation tag.
      *
      * @param seg Segment.
-     * @param fullId Full page id.
+     * @param fullPageId Full page id.
      * @return Current partition generation tag.
      */
-    private int generationTag(Segment seg, FullPageId fullId) {
+    private int generationTag(Segment seg, FullPageId fullPageId) {
         return seg.partGeneration(
-                fullId.groupId(),
-                partitionId(fullId.pageId())
+                fullPageId.groupId(),
+                partitionId(fullPageId.pageId())
         );
     }
 
+    /**
+     * Get current partition generation tag.
+     *
+     * @param fullPageId Full page id.
+     * @return Current partition generation tag.
+     */
+    public int generationTag(FullPageId fullPageId) {

Review Comment:
   Got rid of the method and associated code.



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