[jira] [Updated] (IGNITE-14153) TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing connections

2021-09-18 Thread Maxim Muzafarov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Muzafarov updated IGNITE-14153:
-
Issue Type: Bug  (was: Improvement)

> TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing 
> connections
> -
>
> Key: IGNITE-14153
> URL: https://issues.apache.org/jira/browse/IGNITE-14153
> Project: Ignite
>  Issue Type: Bug
>  Components: networking
>Affects Versions: 2.9.1
>Reporter: Igor Belyakov
>Assignee: Igor Belyakov
>Priority: Major
> Fix For: 2.11
>
> Attachments: TcpCommunicationSpiHalfOpenedConnectionTest.java
>
>  Time Spent: 20m
>  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--48c1-b316-7652d661, 
> rmtNode=44c537a7-6070-4272-a545-cff054b0]
> 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)


[jira] [Updated] (IGNITE-14153) TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing connections

2021-07-01 Thread Alexey Gidaspov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Gidaspov updated IGNITE-14153:
-
Ignite Flags: Release Notes Required  (was: Docs Required,Release Notes 
Required)

> 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
> Fix For: 2.11
>
> Attachments: TcpCommunicationSpiHalfOpenedConnectionTest.java
>
>  Time Spent: 20m
>  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--48c1-b316-7652d661, 
> rmtNode=44c537a7-6070-4272-a545-cff054b0]
> 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)


[jira] [Updated] (IGNITE-14153) TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing connections

2021-02-16 Thread Sergey Chugunov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Chugunov updated IGNITE-14153:
-
Fix Version/s: 2.11

> 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
> Fix For: 2.11
>
> 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--48c1-b316-7652d661, 
> rmtNode=44c537a7-6070-4272-a545-cff054b0]
> 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)


[jira] [Updated] (IGNITE-14153) TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing connections

2021-02-11 Thread Igor Belyakov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Belyakov updated IGNITE-14153:
---
Reviewer: Sergey Chugunov

> 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--48c1-b316-7652d661, 
> rmtNode=44c537a7-6070-4272-a545-cff054b0]
> 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)


[jira] [Updated] (IGNITE-14153) TcpCommunicationSpi#closeStaleConnections() doesn't work for outgoing connections

2021-02-10 Thread Ilya Kasnacheev (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-14153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kasnacheev updated IGNITE-14153:
-
Summary: TcpCommunicationSpi#closeStaleConnections() doesn't work for 
outgoing connections  (was: TcpCommunicationSpi#closeStaleConnections() doesn't 
work for outcoming connections)

> 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--48c1-b316-7652d661, 
> rmtNode=44c537a7-6070-4272-a545-cff054b0]
> 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)