kangpinghuang commented on a change in pull request #588: Add some 
implementation to TabletMeta
URL: https://github.com/apache/incubator-doris/pull/588#discussion_r250893610
 
 

 ##########
 File path: be/src/olap/task/engine_clone_task.cpp
 ##########
 @@ -586,11 +586,11 @@ OLAPStatus 
EngineCloneTask::_finish_clone(TabletSharedPtr tablet, const string&
         }
 
         // load src header
-        string clone_header_file = clone_dir + "/" + 
std::to_string(tablet->tablet_id()) + ".hdr";
-        TabletMeta clone_header(clone_header_file);
-        if ((res = clone_header.load_and_init()) != OLAP_SUCCESS) {
-            OLAP_LOG_WARNING("fail to load src header when clone. 
[clone_header_file=%s]",
-                             clone_header_file.c_str());
+        string cloned_tablet_meta_file = clone_dir + "/" + 
std::to_string(tablet->tablet_id()) + ".hdr";
+        TabletMeta cloned_tablet_meta(cloned_tablet_meta_file);
+        if ((res = cloned_tablet_meta.load_and_init()) != OLAP_SUCCESS) {
+            OLAP_LOG_WARNING("fail to load src header when clone. 
[cloned_tablet_meta_file=%s]",
 
 Review comment:
   LOG(WARNING)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to