Nikolay Kuznetsov created IGNITE-27367:
------------------------------------------

             Summary: Cluster crash during cancellation of dump-type snapshot 
creation
                 Key: IGNITE-27367
                 URL: https://issues.apache.org/jira/browse/IGNITE-27367
             Project: Ignite
          Issue Type: Bug
            Reporter: Nikolay Kuznetsov
            Assignee: Nikolay Kuznetsov


If an attempt is made to cancel the creation of a dump-type snapshot, it may 
lead to a complete cluster crash with an error:
{code:java}
[2025-12-10T16:25:04,906][ERROR][snapshot-runner-#1023%server-0%][] Critical 
system error detected. Will be handled accordingly to configured handler 
[hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, 
super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet 
[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], 
failureCtx=FailureContext [type=CRITICAL_ERROR, 
err=java.nio.file.NoSuchFileException: 
/home/user/ignite/work/snapshots/test/db/binary_meta/server_0/-1509004896.bin.tmp
 -> 
/home/user/ignite/work/snapshots/test/db/binary_meta/server_0/-1509004896.bin]] 
java.nio.file.NoSuchFileException: 
/home/user/ignite/work/snapshots/test/db/binary_meta/server_0/-1509004896.bin.tmp
 -> 
/home/user/ignite/work/snapshots/test/db/binary_meta/server_0/-1509004896.bin 
at 
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
 ~[?:?] at 
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) 
~[?:?] at java.base/sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:416) ~[?:?] 
at 
java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:266)
 ~[?:?] at java.base/java.nio.file.Files.move(Files.java:1432) ~[?:?] at 
org.apache.ignite.internal.processors.cache.binary.BinaryMetadataFileStore.writeMetadata(BinaryMetadataFileStore.java:163)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
org.apache.ignite.internal.processors.cache.binary.BinaryMetadataFileStore.mergeAndWriteMetadata(BinaryMetadataFileStore.java:255)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl.saveMetadata(CacheObjectBinaryProcessorImpl.java:950)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
org.apache.ignite.internal.processors.cache.persistence.snapshot.IgniteSnapshotManager$LocalSnapshotSender.sendBinaryMeta0(IgniteSnapshotManager.java:3888)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotSender.sendBinaryMeta(SnapshotSender.java:100)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
org.apache.ignite.internal.processors.cache.persistence.snapshot.AbstractCreateSnapshotFutureTask.lambda$saveSnapshotData$0(AbstractCreateSnapshotFutureTask.java:194)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
org.apache.ignite.internal.processors.cache.persistence.snapshot.AbstractCreateSnapshotFutureTask.lambda$wrapExceptionIfStarted$3(AbstractCreateSnapshotFutureTask.java:238)
 ~[ignite-core-17.5.0.jar:17.5.0] at 
java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
 [?:?] at 
org.apache.ignite.internal.processors.security.thread.SecurityAwareRunnable.run(SecurityAwareRunnable.java:51)
 [ignite-core-17.5.0.jar:17.5.0] at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
 [?:?] at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
 [?:?] at java.base/java.lang.Thread.run(Thread.java:840) [?:?]{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to