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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]