yiguolei commented on a change in pull request #872: Rename rowset id in 
restore stage
URL: https://github.com/apache/incubator-doris/pull/872#discussion_r273019172
 
 

 ##########
 File path: be/src/olap/snapshot_manager.cpp
 ##########
 @@ -113,6 +118,119 @@ OLAPStatus SnapshotManager::release_snapshot(const 
string& snapshot_path) {
     return OLAP_ERR_CE_CMD_PARAMS_ERROR;
 }
 
+
+OLAPStatus SnapshotManager::convert_rowset_ids(DataDir& data_dir, const 
string& clone_dir, int64_t tablet_id, const int32_t& schema_hash) {
+    OLAPStatus res = OLAP_SUCCESS;   
+    // check clone dir existed
+    if (!check_dir_existed(clone_dir)) {
+        res = OLAP_ERR_DIR_NOT_EXIST;
+        LOG(WARNING) << "clone dir not existed when convert rowsetids. 
clone_dir=" << clone_dir.c_str();
 
 Review comment:
   done

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