Bipin Prasad created STORM-3639:
-----------------------------------

             Summary: Remove asserts from Storm daemon code
                 Key: STORM-3639
                 URL: https://issues.apache.org/jira/browse/STORM-3639
             Project: Apache Storm
          Issue Type: Improvement
          Components: storm-server
    Affects Versions: 2.1.0
            Reporter: Bipin Prasad
            Assignee: Bipin Prasad
             Fix For: 2.2.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to