You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Shishkov (Jira)" <ji...@apache.org> on 2026/02/19 07:03:00 UTC

[jira] [Comment Edited] (IGNITE-27874) ConcurrentModificationException in TcpDiscoveryMetricsUpdateMessage serialization during PerformanceStatisticsSelfTest

    [ https://issues.apache.org/jira/browse/IGNITE-27874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059548#comment-18059548 ] 

Ilya Shishkov edited comment on IGNITE-27874 at 2/19/26 7:02 AM:
-----------------------------------------------------------------

Reproducer added:  [^IGNITE-27881_Invalid_message_type.patch]. It seems that there is the same root cause as in IGNITE-27881.


was (Author: shishkovilja):
Reproducer added:  [^IGNITE-27881_Invalid_message_type.patch]. It seem that there is the same root cause as in IGNITE-27881.

> ConcurrentModificationException in TcpDiscoveryMetricsUpdateMessage serialization during PerformanceStatisticsSelfTest
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-27874
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27874
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Chesnokov
>            Assignee: Ilya Shishkov
>            Priority: Major
>              Labels: IEP-132, ise
>
> During repeated execution of
> PerformanceStatisticsSelfTest#testCacheOperation[clientType=server]
> an error appears approximately once every ~50 runs.
> The test still passes, but the following ERROR is logged from the discovery worker thread:
>  
> {noformat}
> [ERROR][tcp-disco-client-message-worker-performancestatistics.PerformanceStatisticsSelfTest1][TestTcpDiscoverySpi] 
> Runtime error caught during grid runnable execution: GridWorker [name=tcp-disco-client-message-worker-[de1fdd43 127.0.0.1:50480], 
> igniteInstanceName=performancestatistics.PerformanceStatisticsSelfTest1, finished=false, isCancelled=false, heartbeatTs=1771311197189, hashCode=2115418067, interrupted=true, runner=tcp-disco-client-message-worker-[de1fdd43 127.0.0.1:50480]-#48%performancestatistics.PerformanceStatisticsSelfTest1%-#1205%performancestatistics.PerformanceStatisticsSelfTest1%]
> java.util.ConcurrentModificationException at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1511) at
> java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1544) at 
> java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1542) at 
> org.apache.ignite.internal.direct.stream.DirectByteBufferStream.writeMap(DirectByteBufferStream.java:1031) at 
> org.apache.ignite.internal.direct.DirectMessageWriter.writeMap(DirectMessageWriter.java:359) at 
> org.apache.ignite.internal.codegen.TcpDiscoveryMetricsUpdateMessageSerializer.writeTo(TcpDiscoveryMetricsUpdateMessageSerializer.java:82) at 
> org.apache.ignite.spi.discovery.tcp.TcpDiscoveryIoSession.serializeMessage(TcpDiscoveryIoSession.java:284) at 
> org.apache.ignite.spi.discovery.tcp.TcpDiscoveryIoSession.serializeMessage(TcpDiscoveryIoSession.java:254) at 
> org.apache.ignite.spi.discovery.tcp.ServerImpl$ClientMessageWorker.processMessage(ServerImpl.java:7676) at 
> org.apache.ignite.spi.discovery.tcp.ServerImpl$ClientMessageWorker.processMessage(ServerImpl.java:7591) at 
> org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorker.body(ServerImpl.java:7973) at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125) at 
> org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerThread.body(ServerImpl.java:7904) at 
> org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:58)
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)