Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5060

Check configuration parameters on the Integer overflowing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sbberkov Alexander Belyak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: