caiconghui commented on a change in pull request #8387: URL: https://github.com/apache/incubator-doris/pull/8387#discussion_r822374246
########## File path: be/src/olap/tablet.cpp ########## @@ -207,7 +207,7 @@ OLAPStatus Tablet::revise_tablet_meta(const std::vector<RowsetMetaSharedPtr>& ro OLAPStatus Tablet::add_rowset(RowsetSharedPtr rowset, bool need_persist) { DCHECK(rowset != nullptr); - WriteLock wrlock(&_meta_lock); + WriteLock wrlock(_meta_lock); Review comment: Because the mutex and lock of STL are used in this way, I have replaced the mutex defined by doris with the mutex of stl,you can search shared_mutex usage of STL -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org 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