acelyc111 opened a new issue #3398: URL: https://github.com/apache/incubator-doris/issues/3398
**Is your feature request related to a problem? Please describe.** Current implemantion of class DorisMetrics is not a real singleton, but we use it as a singleton. Some usage may cause problem, especially in unit tests, like concurrently calls of `initialize()` may cause memory problems; metrics will be duplicate registered in `initialize()`, etc. I found these problems when run unit tests in ASAN mode. **Describe the solution you'd like** Make DorisMetrics class to be a real singleton before run unit tests in ASAN mode. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
