Alexander Belyak created IGNITE-5060:
----------------------------------------

             Summary: Check configuration parameters on the Integer overflowing
                 Key: IGNITE-5060
                 URL: https://issues.apache.org/jira/browse/IGNITE-5060
             Project: Ignite
          Issue Type: Bug
            Reporter: Alexander Belyak


Time related configuration parameters using long data type (and expect value in 
ms), but standard java.net.Socket class expect integer for soDelay and usually 
long timeouts from configuration cast to ineter with simple (int) method with 
overflow if configuration timeout > Integer.MAX_VALUE.
Need to add configuration check for:
* IgniteConfiguration.failureDetectionTimeout
* IgniteConfiguration.clientFailureDetectionTimeout
* TcpDiscoverySpi.ackTimeout
* TcpDiscoverySpi.netTimeout




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to