kangpinghuang commented on a change in pull request #669: Convert old files 
when start be
URL: https://github.com/apache/incubator-doris/pull/669#discussion_r261913402
 
 

 ##########
 File path: be/src/olap/task/engine_clone_task.cpp
 ##########
 @@ -549,9 +561,71 @@ AgentStatus EngineCloneTask::_clone_copy(
     return status;
 }
 
+OLAPStatus EngineCloneTask::_convert_to_new_snapshot(DataDir& data_dir, const 
string& clone_dir, int64_t tablet_id) {
+    OLAPStatus res = OLAP_SUCCESS;   
+    // check clone dir existed
+    if (!check_dir_existed(clone_dir)) {
+        res = OLAP_ERR_DIR_NOT_EXIST;
+        OLAP_LOG_WARNING("clone dir not existed when clone. [clone_dir=%s]",
 
 Review comment:
   LOG(WARNING)

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