[ 
https://issues.apache.org/jira/browse/IGNITE-10128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679998#comment-16679998
 ] 

Pavel Kovalenko commented on IGNITE-10128:
------------------------------------------

[~zstan] Thank you for contribution. I've reviewed your changes. Looks good to 
me.

> IO race during read\write cache configurations.
> -----------------------------------------------
>
>                 Key: IGNITE-10128
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10128
>             Project: Ignite
>          Issue Type: Improvement
>          Components: persistence
>    Affects Versions: 2.6
>            Reporter: Stanilovsky Evgeny
>            Assignee: Stanilovsky Evgeny
>            Priority: Major
>             Fix For: 2.8
>
>
> During grid usage, found problem below. I tries simultaneously start several 
> nodes and call *activate* on ** each node.
> {code:java}
> [15:38:25,186][INFO][exchange-worker-#63][FileWriteAheadLogManager] Resuming 
> logging to WAL segment 
> [file=/storage/ssd/mshonichev/tiden/pme-181030-153724/test_pme_bench/ignite.server.2/work/db/wal/node2/0000000000000000.wal,
>  offset=0, ver=2]
> [15:38:25,210][INFO][exchange-worker-#63][GridSnapshotAwareClusterStateProcessorImpl]
>  Writing BaselineTopology[id=0]
> [15:38:25,225][INFO][exchange-worker-#63][GridCacheDatabaseSharedManager] 
> Resume logging performed in 41 ms.
> [15:38:25,252][INFO][exchange-worker-#63][CacheAffinitySharedManager] 
> Updating caches registry performed in 27 ms.
> [15:38:25,743][SEVERE][sys-#70][] Critical system error detected. Will be 
> handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler 
> [tryStop=false, timeout=0, super=AbstractFailureHandler 
> [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED]]], 
> failureCtx=FailureContext [type=CRITICAL_ERROR, 
> err=java.nio.file.NoSuchFileException: 
> /storage/ssd/mshonichev/tiden/pme-181030-153724/test_pme_bench/ignite.server.2/work/db/node2/cacheGroup-cache_group_2/cache_group_1_010cache_data.dat.tmp]]
> Critical system error detected. Will be handled accordingly to configured 
> handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, 
> super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet 
> [SYSTEM_WORKER_BLOCKED]]], failureCtx=FailureContext [type=CRITICAL_ERROR, 
> err=java.nio.file.NoSuchFileException: 
> /storage/ssd/mshonichev/tiden/pme-181030-153724/test_pme_bench/ignite.server.2/work/db/node2/cacheGroup-cache_group_2/cache_group_1_010cache_data.dat.tmp]]
> java.nio.file.NoSuchFileException: 
> /storage/ssd/mshonichev/tiden/pme-181030-153724/test_pme_bench/ignite.server.2/work/db/node2/cacheGroup-cache_group_2/cache_group_1_010cache_data.dat.tmp
>     at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
>     at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
>     at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
>     at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:409)
>     at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
>     at java.nio.file.Files.move(Files.java:1395)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager.storeCacheData(FilePageStoreManager.java:390)
>     at 
> org.apache.ignite.internal.processors.cache.CachesRegistry.lambda$persistCacheConfigurations$4(CachesRegistry.java:303)
>     at 
> org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6875)
>     at 
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:827)
>     at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to