[
https://issues.apache.org/jira/browse/STORM-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ethan Li updated STORM-3639:
----------------------------
Fix Version/s: (was: 2.2.0)
> 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
> Priority: Minor
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)