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_r273019223
 
 

 ##########
 File path: be/src/olap/rowset/segment_group.cpp
 ##########
 @@ -785,8 +785,9 @@ OLAPStatus 
SegmentGroup::remove_old_files(std::vector<std::string>* links_to_rem
 }
 
 OLAPStatus SegmentGroup::copy_segments_to_path(const std::string& dest_path, 
int64_t rowset_id) {
-    if (dest_path.empty() || dest_path == _rowset_path_prefix) {
-        return OLAP_SUCCESS;
+    if (dest_path.empty()) {
+        LOG(INFO) << "dest path is empty, return error";
 
 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