vagetablechicken opened a new issue #3817: URL: https://github.com/apache/incubator-doris/issues/3817
HashIndex is derived from RefCountedThreadSafe<>. So here https://github.com/apache/incubator-doris/blob/8c608bbad55911505411151522e6a1ceb7512cc0/be/test/olap/memory/hash_index_test.cpp#L35 When `hi` is destroying, it haven't AddRef()/Release(). `in_dtor_` is always false. It's not a good way, even the `DCHECK(in_dtor_)` won't effect in NDEBUG mode. https://github.com/apache/incubator-doris/blob/09a4d3e50ad1ffdb502d5cf38ed8f0a42e143b1f/be/src/gutil/ref_counted.cc#L65-L70 ---------------------------------------------------------------- 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]
