chaoyli commented on a change in pull request #596: Add implementation to tablet
URL: https://github.com/apache/incubator-doris/pull/596#discussion_r252129733
 
 

 ##########
 File path: be/src/olap/tablet_meta.cpp
 ##########
 @@ -225,6 +327,27 @@ OLAPStatus TabletMeta::to_tablet_pb_unlock(TabletMetaPB* 
tablet_meta_pb) {
     return OLAP_SUCCESS;
 }
 
+OLAPStatus TabletMeta::add_rs_meta(const RowsetMetaSharedPtr& rs_meta) {
+    std::lock_guard<std::mutex> lock(_mutex);
+
+    // check RowsetMeta is valid
+    for (auto rs : _rs_metas) {
 
 Review comment:
   OK

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to