storm icon indicating copy to clipboard operation
storm copied to clipboard

[STORM-3639] Replace asserts in daemon code.

Open bipinprasad opened this issue 5 years ago • 0 comments

What is the purpose of the change

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 within 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.

How was the change tested

Rerun test suite in storm-server directory.

bipinprasad avatar May 27 '20 19:05 bipinprasad