You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexander Belyak (JIRA)" <ji...@apache.org> on 2017/04/24 06:36:04 UTC

[jira] [Created] (IGNITE-5060) Check configuration parameters on the Integer overflowing

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)