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 2020/11/10 06:41:14 UTC

[GitHub] [ignite] Wuchte commented on a change in pull request #8358: IGNITE-12489 Fixed race between B+Tree cursor and remove operation.

Wuchte commented on a change in pull request #8358:
URL: https://github.com/apache/ignite/pull/8358#discussion_r520326008



##########
File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/partstate/GroupPartitionId.java
##########
@@ -53,7 +53,7 @@ public GroupPartitionId(final int grpId, final int partId) {
      * @return flag to be used for partition
      */
     public static byte getFlagByPartId(final int partId) {
-        return partId == PageIdAllocator.INDEX_PARTITION ? PageMemory.FLAG_IDX : PageMemory.FLAG_DATA;
+        return partId == PageIdAllocator.INDEX_PARTITION ? PageStore.TYPE_IDX : PageStore.TYPE_DATA;

Review comment:
       Additional static method for page store type created




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org