[
https://issues.apache.org/jira/browse/IGNITE-17552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598229#comment-17598229
]
Ivan Daschinsky commented on IGNITE-17552:
------------------------------------------
[~xtern] [~tledkov] I suppose this patch could be added to 2.14, couldn't it?
> 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
> Fix For: 2.15
>
> Attachments: error.log
>
> Time Spent: 20m
> 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)