You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/04/26 15:38:29 UTC

[GitHub] [incubator-doris] acelyc111 opened a new issue #3398: Make DorisMetrics class in BE to be a real singleton

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org