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

Check configuration parameters on the Integer overflowing

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sbberkov Alexander Belyak

            Dates

              Created:
              Updated:

              Slack

                Issue deployment