xtern commented on a change in pull request #9047: URL: https://github.com/apache/ignite/pull/9047#discussion_r621311125
########## File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/metastorage/MetaStorage.java ########## @@ -161,6 +171,13 @@ public MetaStorage( this.failureProcessor = cctx.kernalContext().failure(); } + /** + * @return Count of metastorage partitions. + */ + public static Set<Integer> partitions() { + return new HashSet<>(Arrays.asList(OLD_METASTORE_PARTITION, METASTORE_PARTITION)); Review comment: I suggest moving this into constant. -- 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: us...@infra.apache.org