pengxiangyu commented on a change in pull request #8663:
URL: https://github.com/apache/incubator-doris/pull/8663#discussion_r838153452



##########
File path: be/src/olap/data_dir.cpp
##########
@@ -384,6 +358,10 @@ OLAPStatus 
DataDir::_check_incompatible_old_format_tablet() {
 // TODO(ygl): deal with rowsets and tablets when load failed
 OLAPStatus DataDir::load() {
     LOG(INFO) << "start to load tablets from " << _path_desc.filepath;
+    if (is_remote()) {
+        
RETURN_WITH_WARN_IF_ERROR(Env::get_remote_mgr()->init(_path_desc.filepath + 
STORAGE_PARAM_PREFIX),
+                                  OLAP_ERR_INIT_FAILED, "DataDir init 
failed.");
+    }

Review comment:
       rowset is still needed by remote dir, if cold data will be read, rowset 
is necessary.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to