[ https://issues.apache.org/jira/browse/IGNITE-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282927#comment-17282927 ]
Ignite TC Bot commented on IGNITE-14153: ---------------------------------------- {panel:title=Branch: [pull/8788/head] Base: [master] : Possible Blockers (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1} {color:#d04437}JCache TCK 1.1{color} [[tests 0 TIMEOUT , Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5868734]] {panel} {panel:title=Branch: [pull/8788/head] Base: [master] : New Tests (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1} {color:#00008b}SPI{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=5866983]] * {color:#013220}IgniteSpiTestSuite: TcpCommunicationSpiHalfOpenedConnectionTest.testReverseReconnect - PASSED{color} * {color:#013220}IgniteSpiTestSuite: TcpCommunicationSpiHalfOpenedConnectionTest.testReverseReconnectPaired - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5867055&buildTypeId=IgniteTests24Java8_RunAll] > TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing > connections > --------------------------------------------------------------------------------- > > Key: IGNITE-14153 > URL: https://issues.apache.org/jira/browse/IGNITE-14153 > Project: Ignite > Issue Type: Improvement > Components: networking > Affects Versions: 2.9.1 > Reporter: Igor Belyakov > Assignee: Igor Belyakov > Priority: Major > Attachments: TcpCommunicationSpiHalfOpenedConnectionTest.java > > Time Spent: 10m > Remaining Estimate: 0h > > Scenario: > 1. Node1 established communication connection to Node2. > 2. Due to network issue the connection was closed on Node2 side, but was > still alive on Node1 side. (half-open connection) > 3. At some point of time Node2 tries to send a message to Node1, and since > there are no existing connections it creates a new one. > 4. Node1 detects that it already has connection to Node2 and prints next > message: > [TcpCommunicationSpi] Received incoming connection when already connected to > this node, rejecting [locNode=2cc905e6-6666-48c1-b316-7652d6600001, > rmtNode=44c537a7-6070-4272-a545-cff054b00000] > 5. Node1 tries to close existing connection by using closeStaleConnection() > method, but since the connection was outcoming it skipped due to "if > (ses0.accepted())" check. > 6. Node2 makes an infinite amount of tries to connect without success. > Reproducer is attached. -- This message was sent by Atlassian Jira (v8.3.4#803005)