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/08/30 12:43:00 UTC

[jira] [Commented] (IGNITE-17552) The snapshot error is not propagated to the initiating node if it is not the coordinator.

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

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

{panel:title=Branch: [pull/10221/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10221/head] Base: [master] : New Tests (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Snapshots{color} [[tests 2|https://ci2.ignite.apache.org/viewLog.html?buildId=6581415]]
* {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotSelfTest.testClusterSnapshotWithExplicitPathError[Encryption=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotSelfTest.testClusterSnapshotWithExplicitPathError[Encryption=false] - PASSED{color}

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

> The snapshot error is not propagated to the initiating node if it is not the coordinator.
> -----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-17552
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17552
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.13
>            Reporter: Stepanov Ilya
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: iep-43, ise
>         Attachments: error.log
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In some cases, when we execute "createSnapshot" on non-coordinator node, the snapshot error is not reported in the "LastSnapshotErrorMessage" metric, but the "LastSnapshotStartTime" and "LastSnapshotErrorMessage" metrics are updated. 
> This is misleading that the snapshot was taken successfully.
> The problem concerns not only metrics, despite the error, the user future completes successfully and error does not reach the user.
> Reproducer:
> {code:java}
>   startGridsWithCache(2, dfltCacheCfg, CACHE_KEYS_RANGE);
>   // Must fail, but on non-coordinator finishes successfully.
>   grid(1).context().cache().context().snapshotMgr().createSnapshot(SNAPSHOT_NAME, "/bad/path").get();
>   // Fails (as expected).
>   grid(0).context().cache().context().snapshotMgr().createSnapshot(SNAPSHOT_NAME, "/bad/path").get();
> {code}



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