freemandealer commented on code in PR #52946:
URL: https://github.com/apache/doris/pull/52946#discussion_r2193941342


##########
be/src/io/cache/block_file_cache_downloader.cpp:
##########
@@ -103,16 +108,20 @@ void FileCacheBlockDownloader::polling_download_task() {
             std::unique_lock lock(_mtx);
             _empty.wait(lock, [this]() { return !_task_queue.empty() || 
_closed; });
             if (_closed) {
+                LOG(INFO) << "polling_download_task: downloader closed, exit 
polling";
                 break;
             }
 
             task = std::move(_task_queue.front());
             _task_queue.pop_front();
+            LOG(INFO) << "polling_download_task: pop task, queue size after 
pop: "
+                      << _task_queue.size();
         }
 
         if 
(std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now()
 -
                                                              task.atime)
                     .count() < hot_interval) {
+            LOG(INFO) << "polling_download_task: submit download_blocks to 
thread pool";

Review Comment:
   同上



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to