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 2021/10/26 11:27:59 UTC

[GitHub] [ignite] zstan commented on a change in pull request #9527: IGNITE-15733 Eventually failure of baseline registration

zstan commented on a change in pull request #9527:
URL: https://github.com/apache/ignite/pull/9527#discussion_r736428395



##########
File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/FilePageStoreManager.java
##########
@@ -489,21 +490,32 @@ public FilePageStoreManager(GridKernalContext ctx) {
 
         int grpId = MetaStorage.METASTORAGE_CACHE_ID;
 
-        if (!idxCacheStores.containsKey(grpId)) {
-            DataRegion dataRegion = cctx.database().dataRegion(GridCacheDatabaseSharedManager.METASTORE_DATA_REGION_NAME);
-            PageMetrics pageMetrics = dataRegion.metrics().cacheGrpPageMetrics(grpId);
+        DataRegion dataRegion = cctx.database().dataRegion(GridCacheDatabaseSharedManager.METASTORE_DATA_REGION_NAME);
 
-            CacheStoreHolder holder = initDir(
-                new File(storeWorkDir, MetaStorage.METASTORAGE_DIR_NAME),
-                grpId,
-                MetaStorage.METASTORAGE_PARTITIONS.size(),
-                pageMetrics,
-                false);
+        AtomicReference<IgniteCheckedException> initException = new AtomicReference<>();

Review comment:
       This part of fix has no common with issue, just further potential bugs reduction.




-- 
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: notifications-unsubscribe@ignite.apache.org

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