Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3639

Remove asserts from Storm daemon code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.6.1
    • storm-server
    • None

    Description

      By default jvm disables assertion for performance, and we allow JVM options to be configured at deployment time,  it is best to avoid use of assert statement and use explicit clauses to validate critical checks withing storm-daemon code. Also, it would be helpful in many cases to explicitly log and proceed on failure to meet such assert expectation for debugging purpose.

      Attachments

        Activity

          People

            bipinprasad Bipin Prasad
            bipinprasad Bipin Prasad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 40m
                3h 40m