WingsGo edited a comment on pull request #4257: URL: https://github.com/apache/incubator-doris/pull/4257#issuecomment-669114428
Maybe you can reference the implement in `Catalog.SingletonHoder` to get a thread-safe singleton instread of use double check lock to implement. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org