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



##########
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:
       Why do we return page store type from the method which should return 
flag?




----------------------------------------------------------------
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:
[email protected]


Reply via email to