[
https://issues.apache.org/jira/browse/IGNITE-28294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18068183#comment-18068183
]
Ignite TC Bot commented on IGNITE-28294:
----------------------------------------
{panel:title=Branch: [pull/12917/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/12917/head] Base: [master] : New Tests
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 1{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=8952928]]
* {color:#013220}IgniteBasicTestSuite:
DirectMarshallingMessagesTest.testNestedContainers - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8953059&buildTypeId=IgniteTests24Java8_RunAll]
> Fix direct nested container serialization for Map/Collection fields
> -------------------------------------------------------------------
>
> Key: IGNITE-28294
> URL: https://issues.apache.org/jira/browse/IGNITE-28294
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksandr Chesnokov
> Assignee: Aleksandr Chesnokov
> Priority: Major
> Labels: IEP-132, ise
> Fix For: 2.19
>
> Attachments: IGNITE-26568_Remove_CacheEntryInfoCollection.patch
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Steps to reproduce:
> 1) Replace type of GridDhtPartitionSupplyMessage#infos to
> Map<Integer, List<GridCacheEntryInfo>> (see patch from attachments)
> 2) Generate serializers
> 3) Run GridJdkMarshallerSelfTest#testMessaging. There will be
>
> {noformat}
> org.apache.ignite.IgniteException: Invalid message type: 259 at
> org.apache.ignite.internal.managers.communication.IgniteMessageFactoryImpl.create(IgniteMessageFactoryImpl.java:142)
> at
> org.apache.ignite.spi.communication.tcp.internal.GridNioServerWrapper$2.create(GridNioServerWrapper.java:830)
> at
> org.apache.ignite.internal.direct.stream.DirectByteBufferStream.readMessage(DirectByteBufferStream.java:1570)
> at
> org.apache.ignite.internal.direct.stream.DirectByteBufferStream.read(DirectByteBufferStream.java:2242)
> at
> org.apache.ignite.internal.direct.stream.DirectByteBufferStream.readCollection(DirectByteBufferStream.java:1664)
> at
> org.apache.ignite.internal.direct.stream.DirectByteBufferStream.read(DirectByteBufferStream.java:2236)
> at
> org.apache.ignite.internal.direct.stream.DirectByteBufferStream.readMap(DirectByteBufferStream.java:1716)
> at
> org.apache.ignite.internal.direct.DirectMessageReader.readMap(DirectMessageReader.java:416){noformat}
> Looks like the root cause is that nested containers are still serialized
> through the same DirectByteBufferStream instance. We should switch to the
> stream from the new nested state instead
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)