vldpyatkov commented on code in PR #13774:
URL: https://github.com/apache/ignite/pull/13774#discussion_r4440946547
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java:
##########
@@ -5392,8 +5392,19 @@ private class CacheRecoveryLifecycle implements
MetastorageLifecycleListener, Da
/** {@inheritDoc} */
@Override public void beforeBinaryMemoryRestore(
IgniteCacheDatabaseSharedManager mgr) throws
IgniteCheckedException {
- for (DynamicCacheDescriptor cacheDescriptor : persistentCaches())
- preparePageStore(cacheDescriptor, true);
+ // Reserve at least 2 threads for system operations.
+ int parallelismLvl = U.availableThreadCount(ctx,
GridIoPolicy.SYSTEM_POOL, 2);
+
+ doInParallel(
Review Comment:
It was precisely this part that sped up on my laptop.
--
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]