[
https://issues.apache.org/jira/browse/IGNITE-29267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Amelchev updated IGNITE-29267:
-------------------------------------
Fix Version/s: 2.20
> Fix flaky SnapshotCompatibilityTest#testSnapshotRestore
> -------------------------------------------------------
>
> Key: IGNITE-29267
> URL: https://issues.apache.org/jira/browse/IGNITE-29267
> Project: Ignite
> Issue Type: Bug
> Reporter: Nikita Amelchev
> Assignee: Nikita Amelchev
> Priority: Major
> Fix For: 2.20
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> SnapshotCompatibilityTest#testSnapshotRestore is flaky: a snapshot restore
> started right after the cluster activation fails with "Cache group restore
> operation was rejected. The cluster should be active."
> IgniteCluster#state returns when all nodes have finished the state change
> exchange, but the local cluster state stays in transition until
> ChangeGlobalStateFinishMessage is processed. SnapshotRestoreProcess#start
> checks the transition flag in the caller's thread and rejects the operation.
> The transition check can be safely removed from SnapshotRestoreProcess#start:
> the cluster state is validated again on the prepare phase, which is ordered
> with the finish message by discovery.
> Test history:
> https://ci2.ignite.apache.org/test/-5934796684669845926?currentProjectId=IgniteTests24Java8
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)