imay commented on a change in pull request #336: Implement new tablet repair
and balance framework
URL: https://github.com/apache/incubator-doris/pull/336#discussion_r247032618
##########
File path: be/src/agent/task_worker_pool.cpp
##########
@@ -1421,8 +1446,11 @@ AgentStatus TaskWorkerPool::_clone_copy(
}
// Get copy from remote
- for (auto& file_name : file_name_list) {
- remote_file_path = http_host + HTTP_REQUEST_PREFIX
+ uint64_t total_file_size = 0;
+ MonotonicStopWatch watch;
+ watch.start();
+ for (auto file_name : file_name_list) {
Review comment:
auto& to avoid a string copy
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]