[ https://issues.apache.org/jira/browse/IGNITE-25496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17954440#comment-17954440 ]
Ignite TC Bot commented on IGNITE-25496: ---------------------------------------- {panel:title=Branch: [pull/12100/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/12100/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=8452392]] * {color:#013220}IgnitePdsCompressionTestSuite: IgniteClusterSnapshotRestoreSelfTest.testNonSerializableCacheGroupsRestore[encryption=false, onlyPrimay=false] - PASSED{color} * {color:#013220}IgnitePdsCompressionTestSuite: IgniteClusterSnapshotRestoreSelfTest.testNonSerializableCacheGroupsRestore[encryption=false, onlyPrimay=true] - PASSED{color} {color:#00008b}Snapshots 1{color} [[tests 4|https://ci2.ignite.apache.org/viewLog.html?buildId=8452656]] * {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotRestoreSelfTest.testNonSerializableCacheGroupsRestore[encryption=true, onlyPrimay=false] - PASSED{color} * {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotRestoreSelfTest.testNonSerializableCacheGroupsRestore[encryption=true, onlyPrimay=true] - PASSED{color} * {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotRestoreSelfTest.testNonSerializableCacheGroupsRestore[encryption=false, onlyPrimay=false] - PASSED{color} * {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotRestoreSelfTest.testNonSerializableCacheGroupsRestore[encryption=false, onlyPrimay=true] - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8452405&buildTypeId=IgniteTests24Java8_RunAll] > SnapshotRestoreProcess#restoreSnapshot fails if cacheGroupNames collection is > not Serializable > ---------------------------------------------------------------------------------------------- > > Key: IGNITE-25496 > URL: https://issues.apache.org/jira/browse/IGNITE-25496 > Project: Ignite > Issue Type: Task > Reporter: Vladislav Novikov > Assignee: Vladislav Novikov > Priority: Major > Labels: ise > Fix For: 2.18 > > Time Spent: 10m > Remaining Estimate: 0h > > When calling the {{restoreSnapshot(String name, @Nullable Collection<String> > cacheGroupNames)}} method with a non-serializable collection (e.g. > {{{}HashMap.keySet(){}}}), the operation fails with > {{{}NotSerializableException{}}}. > This happens because the collection is being serialized during internal > communication via discovery SPI, but the method's contract does not > explicitly require the collection to be serializable. As a result, users may > pass valid {{Collection<String>}} implementations that are not > {{{}Serializable{}}}, leading to unexpected runtime errors. > Expected behavior: the method accepts any {{Collection<String>}} and > internally handles serialization safely. -- This message was sent by Atlassian Jira (v8.20.10#820010)