imay commented on a change in pull request #1624: Fix tablet restore api in 
BE(#1623)
URL: https://github.com/apache/incubator-doris/pull/1624#discussion_r312801227
 
 

 ##########
 File path: be/src/http/action/restore_tablet_action.cpp
 ##########
 @@ -121,36 +121,27 @@ Status RestoreTabletAction::_reload_tablet(
                      << ", signature: " << tablet_id;
         // remove tablet data path in data path
         // path: /roo_path/data/shard/tablet_id
-        std::string tablet_path = shard_path + "/" + std::to_string(tablet_id);
+        std::string tablet_path = shard_path + "/" + std::to_string(tablet_id) 
+ "/" + std::to_string(schema_hash);
 
 Review comment:
   You can use strings::Substitute to finish it

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