leventov opened a new issue #8083: Principle for treating configuration errors URL: https://github.com/apache/incubator-druid/issues/8083 This issue is about creating a policy, or principle, for treating wrong configuration. There are two approaches: failure (raise an exception) or warn and continue operation if the nature of the configuration parameter permits this. Here: https://github.com/apache/incubator-druid/pull/7562#issuecomment-511452285 I proposed failure, but I'm ambivalent to whether this is right. Just warning also has an appeal, see "Define errors out of existence" idea [here](https://web.stanford.edu/~ouster/cgi-bin/cs190-spring15/lecture.php?topic=errorHandling) (or in a book "A Philosophy of Software Design"). So if somebody believes strongly in warning, I would support this policy. The policy may be more detailed, prescribing failure or warning in different situations based on some criterion.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
