ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Belyak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5060) Check configuration parameters on the Integer overflowing
Date Mon, 24 Apr 2017 06:36:04 GMT
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

View raw message