weizuo93 commented on a change in pull request #8387: URL: https://github.com/apache/incubator-doris/pull/8387#discussion_r822372699
########## 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: Why do you remove `&` here? -- 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