kangpinghuang commented on a change in pull request #777: Optimize path gc
URL: https://github.com/apache/incubator-doris/pull/777#discussion_r267725230
 
 

 ##########
 File path: be/src/olap/tablet_manager.cpp
 ##########
 @@ -628,6 +627,22 @@ bool 
TabletManager::get_tablet_id_and_schema_hash_from_path(const std::string& p
     return false;
 }
 
+bool TabletManager::get_rowset_id_from_path(const std::string& path, RowsetId* 
rowset_id) {
+    std::string pattern = "/data/\\d+/\\d+/\\d+/(\\d+)_.*";
+    std::regex rgx (pattern.c_str());
 
 Review comment:
   ok

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