You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2019/01/09 14:45:41 UTC

[GitHub] AMashenkov closed pull request #5741: IGNITE-9303: Fix wrong page tag usage.

AMashenkov closed pull request #5741: IGNITE-9303: Fix wrong page tag usage.
URL: https://github.com/apache/ignite/pull/5741
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/freelist/AbstractFreeList.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/freelist/AbstractFreeList.java
index 60aefb927ce6..2954d926897e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/freelist/AbstractFreeList.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/freelist/AbstractFreeList.java
@@ -497,7 +497,7 @@ private long allocateDataPage(int part) throws IgniteCheckedException {
 
                 initIo = ioVersions().latest();
             }
-            else if (PageIdUtils.tag(pageId) != PageIdAllocator.FLAG_DATA)
+            else if (PageIdUtils.flag(pageId) != PageIdAllocator.FLAG_DATA)
                 pageId = initReusedPage(pageId, row.partition(), statHolder);
             else
                 pageId = PageIdUtils.changePartitionId(pageId, (row.partition()));


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services