[
https://issues.apache.org/jira/browse/IGNITE-25518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955279#comment-17955279
]
Ignite TC Bot commented on IGNITE-25518:
----------------------------------------
{panel:title=Branch: [pull/12107/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/12107/head] Base: [master] : New Tests
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Disk Page Compressions 1{color} [[tests
2|https://ci2.ignite.apache.org/viewLog.html?buildId=8457368]]
* {color:#013220}IgnitePdsCompressionTestSuite:
IgniteClusterSnapshotRestoreSelfTest.testRestoreCacheGroupsWithDuplication[encryption=false,
onlyPrimay=true] - PASSED{color}
* {color:#013220}IgnitePdsCompressionTestSuite:
IgniteClusterSnapshotRestoreSelfTest.testRestoreCacheGroupsWithDuplication[encryption=false,
onlyPrimay=false] - PASSED{color}
{color:#00008b}Snapshots 1{color} [[tests
4|https://ci2.ignite.apache.org/viewLog.html?buildId=8457351]]
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotRestoreSelfTest.testRestoreCacheGroupsWithDuplication[encryption=false,
onlyPrimay=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotRestoreSelfTest.testRestoreCacheGroupsWithDuplication[encryption=true,
onlyPrimay=false] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotRestoreSelfTest.testRestoreCacheGroupsWithDuplication[encryption=true,
onlyPrimay=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotRestoreSelfTest.testRestoreCacheGroupsWithDuplication[encryption=false,
onlyPrimay=false] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8457381&buildTypeId=IgniteTests24Java8_RunAll]
> Snapshot restore fails with IllegalStateException when duplicate cache group
> names are provided in the collection
> -----------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-25518
> URL: https://issues.apache.org/jira/browse/IGNITE-25518
> Project: Ignite
> Issue Type: Task
> Reporter: Vladislav Novikov
> Assignee: Vladislav Novikov
> Priority: Major
> Labels: ise
> Fix For: 2.18
>
> Attachments: reproducer.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When calling {{restoreSnapshot}} and passing a collection of cache group
> names that contains *duplicate entries* , an {{IllegalStateException}} is
> thrown with the message:
> {{(err) Failed to notify listener (is grid stopped?) [fut=GridFutureAdapter
> [ignoreInterrupts=false, state=DONE,
> res=o.a.i.i.processors.cache.persistence.snapshot.SnapshotPartitionsVerifyTaskResult@65754192,
> hash=1714739685],
> lsnr=o.a.i.i.processors.cache.persistence.snapshot.SnapshotRestoreProcess$$Lambda$1276/0x00000008008cac40@43ec83dc,
> err=Duplicate key 280828085 (attempted merging values testCacheGrp and
> testCacheGrp)]java.lang.IllegalStateException: Duplicate key 280828085
> (attempted merging values testCacheGrp and testCacheGrp)}}
> and the snapshot restore procedure freezes.
> To reproduce the error, apply the patch attached here to master and run
> {{{}SnapshotCompatibilityTest#testSnapshotRestore{}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)