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

 ##########
 File path: be/src/olap/tablet.cpp
 ##########
 @@ -65,9 +121,54 @@ Tablet::~Tablet() {
     _rs_version_map.clear();
 }
 
+OLAPStatus Tablet::load() {
+    OLAPStatus res = OLAP_SUCCESS;
+    MutexLock l(&_load_lock);
+
+    if (_is_loaded) {
+        return OLAP_SUCCESS;
+    }
+
+    res = load_indices();
 
 Review comment:
   I think load_indices should be renamed to load_rowsets?

----------------------------------------------------------------
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