You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2022/03/14 16:18:00 UTC

[jira] [Commented] (IGNITE-16541) 'Invalid cross-device link error' if cdcWalPath and walArchivePath point to different file system partitions

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

Ignite TC Bot commented on IGNITE-16541:
----------------------------------------

{panel:title=Branch: [pull/9870/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9870/head] Base: [master] : New Tests (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS 2{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=6462637]]
* {color:#013220}IgnitePdsTestSuite2: GridFileUtilsTest.testEnsureHardLinkAvailable - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6462682&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 'Invalid cross-device link error' if cdcWalPath and walArchivePath point to different file system partitions
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-16541
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16541
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ilya Shishkov
>            Assignee: Amelchev Nikita
>            Priority: Minor
>              Labels: IEP-59, ise
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, if CDC is turned on and {{cdcWalPath}} and {{walArchivePath}} point to different file system partitions, server node fails on a first attempt to archive segment, but not during a startup.
> Because cluster may be under load, in order to prevent data loss or corruption we should fail before cluster activation.  Server node should check {{cdcWalPath}} and {{walArchivePath}} during the startup, and prevent further starting if they point to different file system partitions.
> {code}
> [ERROR]wal-file-archiver%null-#108[] 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=SYSTEM_WORKER_TERMINATION, err=class o.a.i.i.processors.cache.persistence.StorageException: Failed to archive WAL segment [srcFile=/ignite/work/db/wal/consistent_Id/0000000000000000.wal, dstFile=/ignite/work/db/wal/archive/consistent_Id/0000000000000000.wal.tmp]]]
> org.apache.ignite.internal.processors.cache.persistence.StorageException: Failed to archive WAL segment [srcFile=/ignite/work/db/wal/consistent_Id/0000000000000000.wal, dstFile=/ignite/work/db/wal/archive/consistent_Id/0000000000000000.wal.tmp]
>             at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileArchiver.archiveSegment(FileWriteAheadLogManager.java:2074)
>             at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileArchiver.body(FileWriteAheadLogManager.java:1934)
>             at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125)
>             at java.lang.Thread.run(Thread.java:829) [?:?]
> Caused by: java.nio.file.FileSystemException: /ignite/data/work/db/wal/cdc/consistent_Id/0000000000000000.wal -> /ignite/work/db/wal/archive/consistent_Id/0000000000000000.wal: Invalid cross-device link
>             at sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
>             at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
>             at sun.nio.fs.UnixFileSystemProvider.createLink(UnixFileSystemProvider.java:481)
>             at java.nio.file.Files.createLink(Files.java:1102)
>             at org.apache.ignite.internal.processors.cache.persistence.wal.FileWriteAheadLogManager$FileArchiver.archiveSegment(FileWriteAheadLogManager.java:2058)
>             ... 3 more
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)